Adds `--exclude` command line option, allowing you to specify glob patterns of files/directories to ignore when searching for tests. Can be supplied in `pyproject.toml` too, like so:
toml [tool.ward] exclude = ["glob1", "glob2"]
0.32.1b0
Fixes issue where `--path` expected a directory, and didn't allow a module to be passed directly.
0.32.0b0
Adds a `__main__.py`. Thanks to thebigmunch.
0.31.1b0
Fix a bug where a subset of assertions involving comparisons would result in tests raising a `NameError`. Thanks to /u/Broolucks on Reddit for reporting this!
0.31.0b0
Fixes alignment of test descriptions in output when number of parameterised instances exceeds 9. Closes: https://github.com/darrenburns/ward/issues/103. Thanks to thebigmunch for this contribution!
0.30.1b0
Closes 102 ...
> Fixes a bug around importing something from a module containing tests causing tests to sometimes run more than once. This PR ensures we only run tests for the module they're defined in, and not again in modules they're imported into. Also massively improves test coverage around this area.