Attest

  423 downloads
0.5.3 BSD License    
5.0/5 3
Modern, Pythonic unit testing

description

download

specifications

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, Assert
math = Tests()

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

if __name__ == '__main__':
 math.run()
read more   
Last updated on March 4th, 2012

0 User reviews so far.

SUBMIT