PHPUnitKit is a plugin that provides PHPUnit support. It provides an abstraction over running tests from the command-line.
GitHub: PHPUnitKit
Package Control: PHPUnitKit
- Zero configuration required; Does the Right Thing
- Test Suite, Test File, Test Nearest, Test Last, and other commands
- Supports Composer
- Supports colour test results (including failure diffs)
- Jump to next/previous test failure via keybinding F4/Shift+F4
- Switch File (splits window and puts test case and class under test side by side)
- Fully customized CLI options configuration
Command Palette
- Test Suite | Runs the whole test suite.
- Test File | Runs all the tests in the current file test case.
- Test Nearest | Runs the test nearest to the cursor. Use multiple selection to run more than one test.
- Test Last | Runs the last test.