Update documentation to demonstrate running individual tests

This commit is contained in:
James Dinsdale 2017-02-28 21:10:51 +00:00
parent 2a47dfa11f
commit 22a585a2d3
No known key found for this signature in database
GPG key ID: DBCB56BD98007031

View file

@ -373,8 +373,12 @@ zunit
# Runs all test files in ./other_tests
zunit other_tests
# Runs all tests in the file ./tests/a-test-file
zunit tests/a-test-file
# Runs all tests in the file ./tests/a-test-file.zunit
zunit tests/a-test-file.zunit
# Runs a single test named 'The name of the test' in the file
# ./tests/a-test-file.zunit
zunit tests/a-test-file.zunit@'The name of the test'
# Runs all tests, and exists immediately after the first failure
zunit --fail-fast