llaski / sublime-phpunit

Run individual unit test files directly from Sublime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 75.3%Language:AppleScript 24.7%