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.5.0.tar.gz (2.2 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.5.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for snate-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e112d6e268d32f3c3bda12512ed988ece2aa235b1e7dd36cc62f9646b494dc12
MD5 0e7cee916c90435afc64739bb798456a
BLAKE2b-256 27da44c55a98144d7f25a49b668855c5040dc6df5fb4d314dc5572ff771c926b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: snate-0.5.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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b130f1941b9cbad367a20429c9d4d8d4c28db50e114da6c64e739a35e7fc5c14
MD5 e6a08d43a4f7f767c052036d5e474066
BLAKE2b-256 837ef0018cf1871df8d71367cdf1fb9e154746812b89b5c8a8764824e4d5a9c7

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