CMD + K

ward

Community

A modern Python testing framework

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::ward

Usage Tracking

0.68.0b0
0.67.2b0
0.67.0b0
0.66.1b0
0.66.0b0
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

Ward is a Python testing framework with a focus on productivity and readability. It gives you the tools you need to write well-documented and scalable tests. With Ward, you can describe your tests using strings instead of function names, and also use plain assert statements, with no need to remember assert* method names. Ward provides beautiful output that focuses on readability. It also manages test dependencies using a simple but powerful fixture system, while parameterising testing, which allows you to run a single test on multiple inputs. Ward has support for testing async code, and is supported on MacOS, Linux, and Windows. Ward is configurable with pyproject.toml, but works out-of-the-box with sensible defaults. It is also extendable via a plugin system (coming soon). Above all, Ward is speedy – Ward’s suite of ~300 tests completes in ~0.4 seconds on my machine.

About

Summary

A modern Python testing framework

Last Updated

Dec 19, 2023 at 16:18

License

MIT

Total Downloads

40.2K

Version Downloads

2.2K

Supported Platforms

noarch