mirror of
https://github.com/zunit-zsh/zunit.git
synced 2026-09-10 06:36:15 -04:00
Update documentation to demonstrate running individual tests
This commit is contained in:
parent
2a47dfa11f
commit
22a585a2d3
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue