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:
David I. Lehn 2015-10-13 14:08:27 -04:00
commit e98b8f61ba
3 changed files with 13 additions and 4 deletions

View file

@ -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/