Browse Source

Update test-running examples

J. King 1 year ago
parent
commit
ff9d437511
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      CONTRIBUTING.md

+ 4
- 2
CONTRIBUTING.md View File

@@ -51,11 +51,13 @@ To run the test suite, you must have [Composer][d] installed as well as the comm
51 51
 # first install dependencies
52 52
 php composer.phar install
53 53
 # run the tests
54
-./tests/test
54
+./robo test
55
+# run the tests and produce a code coverage report in ./tests/coverage
56
+./robo coverage
55 57
 ```
56 58
 
57 59
 The example uses Unix syntax, but the test suite also runs in Windows. By default all tests are run; you can pass the same arguments to the test runner [as you would to PHPUnit][e]
58 60
 
59 61
 ``` sh
60
-./tests/test --testsuite "Configuration"
62
+./robo test --testsuite "Configuration"
61 63
 ```

Loading…
Cancel
Save