Skip to main content

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.

screenshot

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)

Uploaded Source

Built Distribution

ward-0.1.1a0-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page