Skip to main content

Missing test framework for python

Project description

snate

Missing test framework for python

Installation

pip install snate

Usage

Programmatic usage

from snate import Snate

def add(a, b):
    return a + b

snate = Snate()
snate.add(lambda: add(1, 2), 3)
snate.add(lambda: add(3, 5), 8)
snate.test()

CLI usage

You can run tests in the tests/ directory by simply running snate in your terminal:

snate

You can also specify a different directory or a specific test file:

snate custom_tests/
snate tests/test_math.py

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

snate-0.6.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snate-0.6.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file snate-0.6.0.tar.gz.

File metadata

  • Download URL: snate-0.6.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for snate-0.6.0.tar.gz
Algorithm Hash digest
SHA256 be33968c31bf915e8bc511daea42c59e70367bb00364b45c85eed444c17260db
MD5 57eb41a1f0b5659d8b61d93cbce26338
BLAKE2b-256 732410bad4febe0908b916c2c28248fc93d7cb9cc97affff9c3627286ee549c1

See more details on using hashes here.

File details

Details for the file snate-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: snate-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for snate-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 995c81a0b7d6afaed5b4e1ab63be94757b5050717cc51b9f80587cc36ca6c769
MD5 37ea7ed0dc606a09658ec4df7345bb4f
BLAKE2b-256 3d718721f76e24c9f0a9419670e279284f8bf7478b563bce768f79c018bbcfc0

See more details on using hashes here.

Supported by

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