Skip to content

Releases: darrenburns/ward

0.32.0b0

31 Jan 22:54
Compare
Choose a tag to compare

Adds a __main__.py. Thanks to @thebigmunch.

0.31.1b0

31 Jan 17:20
Compare
Choose a tag to compare

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

30 Jan 21:52
Compare
Choose a tag to compare

Fixes alignment of test descriptions in output when number of parameterised instances exceeds 9. Closes: #103. Thanks to @thebigmunch for this contribution!

0.30.1b0

29 Jan 19:54
Compare
Choose a tag to compare

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.

0.30.0b0

27 Jan 17:50
Compare
Choose a tag to compare

Added --no-capture-output flag to disable output capturing.

0.29.1b0

26 Jan 14:11
cc324bb
Compare
Choose a tag to compare

Merged PR #99 - fixes possibility of tests repeating for modules at different paths and same module name by ensuring they have unique identifiers.

0.29.0b0

26 Jan 03:11
Compare
Choose a tag to compare

Introduce assertion rewriting for all possible types of binary comparison. Previously, assertion rewriting only applied to assert x == y (now it also applies to assert x in y, assert x >= y, etc)

0.28.0b0

25 Jan 17:54
c012540
Compare
Choose a tag to compare

Removes the expect API.
Adds assert rewriting, currently just for assertions of the form assert x == y.

0.27.1b0

25 Jan 02:50
Compare
Choose a tag to compare

Hotfix for path error when no pyproject.toml supplied and ward ran without --path.

0.27.0b0

23 Jan 00:04
Compare
Choose a tag to compare

Add support for pyproject.toml. For more info: https://wardpy.com/guide/config