Releases: darrenburns/ward
0.61.0b0 - Internal changes
- Switch from
toml
totomli
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
The ward fixtures
command was failing.
Thanks to @yolong-lin for the fix.
0.60.0b0 - Perf improvements, `live` output, `assert in` pretty output
- 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
Assertion info for in
/not in
All of these changes were contributed by @JoshKarpel!
0.59.0b0 - Remove termcolor+colorama in favour of Rich for diffs
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
- 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 inpyproject.toml
was not interacting with CLI supplied--path
s 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 runningward
is the same asward --path .
.
0.57.2b0 - Refactoring
This release contains no user-facing changes.
0.57.1b0 - Fix issue with subdirectory traversal
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
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
- 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)
Adds --progress-style [inline|bar]
% progress through test session to output (enabled by default).
inline
bar
Thanks again to @JoshKarpel for this contribution 🎉