forked from friendica/php-json-ld
Group tests by test suite.
- Grouping the tests by test suite to avoid warning failures when there are no test in a suite. Requires the use of the phpunit `--group` flag.
This commit is contained in:
parent
c63a5961fb
commit
e98b8f61ba
3 changed files with 13 additions and 4 deletions
|
|
@ -179,8 +179,8 @@ the `json-ld.org` and `normalization` repositories hosted on GitHub:
|
|||
Then run the PHPUnit test.php application and point it at the directories
|
||||
containing the tests:
|
||||
|
||||
phpunit test.php -d {PATH_TO_JSON_LD_ORG/test-suite}
|
||||
phpunit test.php -d {PATH_TO_NORMALIZATION/tests}
|
||||
phpunit --group json-ld.org test.php -d {PATH_TO_JSON_LD_ORG/test-suite}
|
||||
phpunit --group normalization test.php -d {PATH_TO_NORMALIZATION/tests}
|
||||
|
||||
[Digital Bazaar]: http://digitalbazaar.com/
|
||||
[JSON-LD]: http://json-ld.org/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue