zunit-zsh / zunit

A powerful testing framework for ZSH projects
https://zunit.xyz
MIT License
208 stars 23 forks source link

Provide a way to run a specific set of test(s) #86

Closed MichaelAquilina closed 7 years ago

MichaelAquilina commented 7 years ago

If you are trying to debug a single test case amongst a bunch of other tests, this is extremely useful

molovo commented 7 years ago

This is difficult, because of the way ZUnit has to parse files. You can run individual tests (See 'Running Individual Tests' section on this page). The only other thing i can suggest at the moment is subfoldering groups of tests and passing the subfolder path to zunit.

It might be possible to tweak the way individual tests are run to accept wildcards so that you can namespace tests with a name like namespace:test name. I can look into that if it'll help

MichaelAquilina commented 7 years ago

This is me actually failing to read the documentation correctly so I think we can close this :)