Skip to content

jrub-forks/sublime-phpunit

 
 

Repository files navigation

Sublime PHPUnit

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

By default, this package uses macOS's built-in Terminal.app. If you want to use iTerm, you can do so by setting "phpunit-sublime-terminal": "iTerm" in your settings.

About

Run individual unit test files directly from Sublime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 75.3%
  • AppleScript 24.7%