Skip to main content

Modern, Pythonic unit testing.

Project description

Attest is a unit testing framework built from the ground up with idiomatic Python in mind. Unlike others, it is not built on top of unittest though it provides compatibility by creating TestSuites from Attest collections.

It has a functional API inspired by Flask and a class-based API that mimics Python itself. The core avoids complicated assumptions leaving you free to write tests however you prefer.

from attest import Tests
math = Tests()

@math.test
def arithmetics():
    assert 1 + 1 == 2

if __name__ == '__main__':
    math.run()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Attest-latest-0.6.1dev-20130603.tar.gz (42.7 kB view details)

Uploaded Source

File details

Details for the file Attest-latest-0.6.1dev-20130603.tar.gz.

File metadata

File hashes

Hashes for Attest-latest-0.6.1dev-20130603.tar.gz
Algorithm Hash digest
SHA256 12de67ffd1cb422ece25cc9fcbacbf29539ea9f0507a5f77f651861b19621b7f
MD5 607f4a204799befbc48ee12246a21e1e
BLAKE2b-256 0c4fcb9449bed11b9cd8322aba22f61b2833b01985b0bc02c0514f2ad53a1d3d

See more details on using hashes here.

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