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
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
File details
Details for the file Attest-latest-0.6dev-20121124.tar.gz
.
File metadata
- Download URL: Attest-latest-0.6dev-20121124.tar.gz
- Upload date:
- Size: 42.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e530397efc741ba5fdd16cd21204f0a0b493733e4d71a307fa062ae664be1b9 |
|
MD5 | aaf2ce9e2f66a6260db607643b27ccaa |
|
BLAKE2b-256 | c608606f85b1d135a798a1bc12e8da699c3798ab0e15e15f2551fb6d1348457f |