ward

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

MIT License

Downloads
3.1K
Stars
1.2K
Committers
31

Bot releases are hidden (Show)

ward - 0.26.0b0

Published by darrenburns over 4 years ago

Switches from setup.py to use the flit build/distribution system. Thanks to @AndydeCleyre.

ward - 0.25.0b0

Published by darrenburns over 4 years ago

Adds --order option, with "standard" and "random". Allows you to specify the order in which tests should run.

ward - 0.24.1b0

Published by darrenburns over 4 years ago

Contains https://github.com/darrenburns/ward/pull/83, a fix for the faulty interaction between parameterised tests and module scoped fixtures.

ward - 0.24.0b0

Published by darrenburns almost 5 years ago

Relaxes the dependency versions to reduce the chances of conflict: https://github.com/darrenburns/ward/pull/82

ward - 0.23.0b0

Published by darrenburns almost 5 years ago

Adds the ability to specify --path multiple times. Thanks to @AlecJ for the bulk of this!

ward - 0.22.0b0

Published by darrenburns almost 5 years ago

Adds --version command, and platform info at the start of test runs.

ward - 0.21.0a0

Published by darrenburns almost 5 years ago

  • If a test description doesnt fit in the width of the terminal, it will be wrapped to multiple lines and left aligned.
  • Dots taking up multiple lines will align in the same way.
ward - 0.20.0a0

Published by darrenburns almost 5 years ago

  • Adds --test-output-style options (test-per-line, dots-module, dots-global)
  • Tidies up output in some areas
ward - 0.19.0a0

Published by darrenburns almost 5 years ago

  • Improves readability of the output by spacing things out a bit more.
  • Handling user keyboard interrupts by outputting the results of all tests that had run up until that point.
  • Only show the colour keys in the chart if they're present in the chart.
ward - 0.18.0a0

Published by darrenburns almost 5 years ago

Adds the ability to use string formatting notation in test descriptions, which Ward can fill in using the values that it injects into your test.

ward - 0.17.1a0

Published by darrenburns almost 5 years ago

Fixes a regression with the @using where the bound_args it set were not being respected later in the test running stage.

ward - 0.17.0a0

Published by darrenburns almost 5 years ago

Rewrite of fixture caching to make it more scalable.

This will allow us to support arbitrary fixture scopes much easier (e.g. Hypothesis examples can each have their own scope).

The rewrite also removes the awkward requirement that tests had to run in sequential order. This means we can now support things like randomised test order, and multi-process mode.

ward - 0.16.0a0

Published by darrenburns almost 5 years ago

  • Adds @using decorator as an alternative means of injecting fixtures. This will enable support for Hypothesis.
ward - 0.15.0a0

Published by darrenburns almost 5 years ago

  • Adds parameterised testing capabilities to tests using the each function.
  • Tidy up of test generation code (@khusrokarim)
  • Fixes bug where raw values injected into fixtures (@khusrokarim)
ward - 0.14.1a0

Published by darrenburns almost 5 years ago

Hotfix re-enables output capturing and removes some docs that have been transferred to ward-docs.

ward - 0.14.0a0

Published by darrenburns almost 5 years ago

Fixture scoping (global, module, test).

ward - 0.13.0a0

Published by darrenburns almost 5 years ago

Removing a lot of older code around name matching fixtures.

ward - 0.12.0a0

Published by darrenburns almost 5 years ago

Fixtures without the name matching magic.

ward - 0.11.1a0

Published by darrenburns almost 5 years ago

Updating screenshot to GitHub URL so that it appears on PyPI correctly.

ward - 0.11.0a0

Published by darrenburns almost 5 years ago

Descriptive testing

Package Rankings
Top 29.96% on Conda-forge.org
Top 3.27% on Pypi.org
Badges
Extracted from project README
Codecov Documentation Status PyPI version