-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expanded setting to allow definition of multiple xml config files, de…
…fault settings should work same as before for unit tests
- Loading branch information
Showing
7 changed files
with
101 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
{ | ||
// path to root of your project, if this is empty plugin uses the current sublime project root | ||
// Path to root of your project, if this is empty plugin uses the current sublime project root | ||
"root": "", | ||
// path to test folder, relative and starting from root | ||
// Path to test folder, relative and starting from root | ||
"tests_folder": "tests", | ||
// path to phpunit, relative and starting from root | ||
// Path to phpunit, relative and starting from root | ||
"path_to_phpunit": "vendor/bin/phpunit", | ||
// command line options | ||
// Path to phpunit xml configuration file, relative and starting from root. | ||
// It is possible to define different config files for different paths. Latter paths will override previous paths. | ||
// Any paths beside the first one will only work when creating a command on files and folders inside the test folder. | ||
"xml_config": [ | ||
{"name": "phpunit.xml", "path": "tests"}, | ||
{"name": "phpunit-integration.xml", "path": "tests/integration"} | ||
], | ||
// Command line options | ||
"options": [ | ||
"-c phpunit.xml", | ||
"--colors=\"always\"" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters