Skip to content

Utilize Laravel's artisan test command directly from Sublime

License

Notifications You must be signed in to change notification settings

bradenkeith/sublime-artisan-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sublime Artisan Test

This package extends Sublime PHPUnit and its installation is required for this package to be functional.

Installation

Installation is as simple as cloning the repository into your Sublime Text install's Packages folder:

git clone https://github.com/bradenkeith/sublime-artisan-test ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/sublime-artisan-test

Available Commands & Example Keybindings

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

Here's the full list of commands:

run_artisan_test
run_artisan_tests_in_dir
run_single_artisan_test
run_all_artisan_tests

Here are some example keybindings:

[
    { "keys": ["alt+t"], "command": "run_artisan_test"},
    { "keys": ["super+alt+t"], "command": "run_single_artisan_test"},
    { "keys": ["super+shift+t"], "command": "run_artisan_tests_in_dir"},
    { "keys": ["super+shift+ctrl+t"], "command": "run_all_artisan_tests"},
]

Using iTerm2 instead of Terminal.app or fish shell

This package obeys the terminal selection set in Sublime PHPUnit.

About

Utilize Laravel's artisan test command directly from Sublime

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages