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, Assert
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.3.tar.gz (7.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for Attest-0.3.tar.gz
Algorithm Hash digest
SHA256 a44aa0b59e085f434c019577871c90d89c4dedbc7c66eeeccc3d404b26cf7f36
MD5 91f32d1314c4417b7a1cd48960f70bdf
BLAKE2b-256 d64f51424818fb9c6bf7f8682028c594e315d68c2808348fb234e4b33aa42ada

See more details on using hashes here.

Provenance

Supported by

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