Modern, Pythonic unit testing.
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()
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size Attest-latest-0.6.1dev-20130603.tar.gz (42.7 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for Attest-latest-0.6.1dev-20130603.tar.gz