ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Simple​PHPUnit

Sublime Text 3 plugin for PHPUnit

Details

Installs

  • Total 12K
  • Win 6K
  • OS X 3K
  • Linux 3K
Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21
Windows 2 1 3 4 2 2 3 6 2 5 2 2 2 2 0 2 2 2 1 0 2 3 1 2 1 2 0 3 2 4 1 2 2 3 1 2 1 2 5 1 3 2 2 6 2 3
OS X 0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 2 2 0 1 1 0 0 1 1 0 0 2 1 0 0 0 1 1 0 0 1 0 2 0 0 1 1 1 0 3 1
Linux 2 1 0 2 0 0 1 0 0 1 1 1 0 0 1 3 0 1 0 2 0 2 2 0 1 1 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

Simple PHPUnit commands

This plugin allows you the run the PHPUnit tests using the Sublime Text interface, without having to open and use the command line.

Available commands:

  • PHPUnit: Run
  • PHPUnit: Run with params

Coloring output:

Coloring output

Installation:

Use Package Controller or create a the directory SimplePHPUnit in your Sublime Text Packages directory, and you're ready to go.

Usage:

Press Cmd + Shift + P for the dropdown command list, search for PHPUnit:, and pick your command. Also you can use Tools/PHPUnit... menu item

Keybinding:

You can use command simple_php_unit for your keybinding.

Example:

{ "keys": ["super+ctrl+alt+t"], "command": "simple_php_unit" }

Notes:

  • PHPUnit config file needs to been in the root folder of your structure in the sidebar.
  • You need insert in Sublime Text user settings "show_panel_on_build": true or use Tools/Build Results/Show Build Results menu item for view results.

Donate:

If you liked this plugin, you can donate to support it!

Paypal donate

Give some feedback.

Thanks.