Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Modern, Pythonic test automation
Branch: master

Merge pull request #140 from bfirsh/0.6-docs

Documentation and changelog for 0.6
latest commit b1ad455a7b
@bradleyayers bradleyayers authored
Failed to load latest commit information.
attest When using 'attest' command, add cwd to sys.path[0] earlier
docs Fix spacing.
.gitignore Ignore Sublime Text 2 project files
CHANGES.rst First pass at a changelog for 0.6. Ref #131
LICENSE Include 2011 in copyright notices Drop use of setuptools-git
README.rst Use reStructuredText rather than markdown for README
setup.cfg clean up sphinx setup Fix bug in utils.nested on Python 3, add 'six' as dependency


Modern Test Automation for Python

Attest is a test automation framework for Python emphasising modern idioms and conventions.

from attest import Tests
math = Tests()

def arithmetics():
    """Ensure that the laws of physics are in check."""
    assert 1 + 1 == 2

if __name__ == '__main__':


  • Collect tests using decorators instead of matching names against a regexp
  • Set up fixtures as context managers that can be combined and reused
  • Use the assert statement with arbitrary expressions that are inspected on failure
  • Scan for collections by type rather than by name
  • Treat tests as Python packages rather than script files
Something went wrong with that request. Please try again.