A Python 3 test framework.
Project description
Ward
An experimental test runner for Python that supports pytest-style fixtures. This project is a work in progress, and is not production ready.
Example
# Define a fixture
@fixture
def one():
return 1
# Inject fixtures into each other
@fixture
def two(one)
return one + one
# Inject fixtures into tests
def test_one_plus_two_equals_three(one, two):
expect(one + two).equals(3)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ward-0.1.1a0.tar.gz
(6.0 kB
view hashes)
Built Distribution
ward-0.1.1a0-py3-none-any.whl
(8.8 kB
view hashes)