Skip to content

Releases: darrenburns/ward

0.61.0b0 - Internal changes

10 Jun 14:36
cbccad7
Compare
Choose a tag to compare
  • Switch from toml to tomli to support TOML spec v1.0, and speed up parsing.
  • Small internal change to diffing to support type annotation improvements.

Thanks to @hukkin for these changes!

0.60.1b0 - Bugfix - "fixtures" command broken

08 Jun 15:15
8d4b4b5
Compare
Choose a tag to compare

The ward fixtures command was failing.

Thanks to @yolong-lin for the fix.

0.60.0b0 - Perf improvements, `live` output, `assert in` pretty output

05 Jun 16:09
Compare
Choose a tag to compare
  • Performance improvement to shave ~15% off of test suite run times
  • Adds live output style
  • Add pretty comparison info for in/not in assertion failures

live output

live_output

Assertion info for in/not in

image

All of these changes were contributed by @JoshKarpel!

0.59.0b0 - Remove termcolor+colorama in favour of Rich for diffs

30 May 23:24
Compare
Choose a tag to compare

Ward now outputs diffs using Rich when when an equality check in an assert fails within a test.

This let us remove the final pieces of colorama and termcolor code from Ward.

0.58.0b0 - Mostly bugfixes, one feature change

30 May 18:16
Compare
Choose a tag to compare
  • Fixes #140
  • Fixes #239
  • Fixes issue where pyproject.toml defaults were not being applied
  • Fixes issue with dots-module output where it wouldn't display properly if you were in a directory deeper than a running test module.
  • Changes --exclude to work with paths instead of globs.
  • No longer modify sys.modules during collection phase.
  • Fix module.__package__ being set incorrectly in some cases.
  • Fix issue where exclude defined in pyproject.toml was not interacting with CLI supplied --paths correctly.
  • Changes some semantics around running ward with no --path: it now means "run all tests in my project". If you want to get specific, supply a path. If we can't find the project, then running ward is the same as ward --path ..

0.57.2b0 - Refactoring

25 May 21:35
Compare
Choose a tag to compare

This release contains no user-facing changes.

0.57.1b0 - Fix issue with subdirectory traversal

24 May 17:22
Compare
Choose a tag to compare

Fixes an issue that was introduced in 0.57.0b0 which prevented Ward from entering nested subdirectories when looking for tests.

0.57.0b0 - Extensibility via plugins/hooks

24 May 16:59
Compare
Choose a tag to compare

Adds initial support for plugins using Pluggy. In this release, 3 hooks are available: before_session, after_session, and preprocess_tests.

0.56.0b0 - Upgrade to Click 8, tidying up namespaces

20 May 21:29
Compare
Choose a tag to compare
  • Upgrades Ward to use Click v8 thanks to @AABur.
  • Splits some modules into internal/public, adds docs on some public APIs, more selectively exposes functionality to users.

0.55.0b0 - test session progress (inline and progress bar)

15 May 23:49
Compare
Choose a tag to compare

Adds --progress-style [inline|bar] % progress through test session to output (enabled by default).

inline

image

bar

image

Thanks again to @JoshKarpel for this contribution 🎉