Darrenburns Ward Versions Save

Ward is a modern test framework for Python with a focus on productivity and readability.

release/0.61.0b0

2 years ago
  • 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!

release/0.60.1b0

2 years ago

The ward fixtures command was failing.

Thanks to @yolong-lin for the fix.

release/0.60.0b0

2 years ago
  • 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!

release/0.59.0b0

3 years ago

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.

release/0.58.0b0

3 years ago
  • 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 ..

release/0.57.2b0

3 years ago

This release contains no user-facing changes.

release/0.57.1b0

3 years ago

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

release/0.57.0b0

3 years ago

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

release/0.56.0b0

3 years ago
  • 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.

release/0.55.0b0

3 years ago

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 🎉