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-0.5.tar.gz (45.1 kB view details)

Uploaded Source

File details

Details for the file Attest-0.5.tar.gz.

File metadata

  • Download URL: Attest-0.5.tar.gz
  • Upload date:
  • Size: 45.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Attest-0.5.tar.gz
Algorithm Hash digest
SHA256 59e69d14a410c4cf4dbedaf865fd8d47bb6e4035004c219d4d455329015d7093
MD5 717f4df054295e4a26221aa0fbc0d3ef
BLAKE2b-256 e0f942dea1f0a7bd49d28d18fc1b5455c1b1f649d4d35b0aad5e2e2b180cd4d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page