Skip to content

Run individual unit test files directly from Sublime - Ubuntu

Notifications You must be signed in to change notification settings

mohamed-aiman/sublime-phpunit-ubuntu

 
 

Repository files navigation

Sublime PHPUnit - Ubuntu

This is a clone of adamwathan/sublime-phpunit for Mac Os. The package is for Gnome Terminal and has been tested on Ubuntu 16.04 Sublime Text 3.

Everything is similar to the original package. No need to add "phpunit-sublime-terminal" as its just for gnome terminal.

Convenient Sublime Text commands for running your PHPUnit tests. Scans up the directory tree to find the closest phpunit.xml file and runs phpunit from there. If it can't find one, it just runs phpunit from /.

Just git clone this repo into your ~/Library/Application Support/Sublime Text 3/Packages directory and you're good to go.

You can find the commands in the command palette under "Sublime PHPUnit", or map any of these commands to whatever shortcuts you want:

run_phpunit_test
run_phpunit_tests_in_dir
run_single_phpunit_test
run_all_phpunit_tests

To close the terminal after the tests have been finished press enter.

About

Run individual unit test files directly from Sublime - Ubuntu

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.4%
  • Shell 1.6%