Ward

Latest version: v0.68.0b0

Safety actively analyzes 630052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 16

0.60.0b0

* 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](https://user-images.githubusercontent.com/5740731/120897836-03cdbc80-c620-11eb-9bf5-557059f0bc89.gif)

Assertion info for `in`/`not in`

![image](https://user-images.githubusercontent.com/5740731/120897934-966e5b80-c620-11eb-9cd0-c85f04017002.png)

All of these changes were contributed by JoshKarpel!

0.59.0b0

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

* 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 `--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 running `ward` is the same as `ward --path .`.

0.57.2b0

This release contains no user-facing changes.

0.57.1b0

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

0.57.0b0

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

Page 3 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.