Skip to main content

Partial support library for structured testing

Project description

speclike

speclike is a partial support library for writing structured and spec-like tests using Python.

This project aims to make test code read more like specifications, inspired by ideas from contract testing and design-by-contract. It currently provides lightweight markers (setup, before, after, invariant) and a pytest-based test dispatcher.


Status

This project is in very early development (alpha stage).
APIs and behavior may change without notice.


License

MIT License © 2025 minoru_jp

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

speclike-0.0.0.8.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

speclike-0.0.0.8-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file speclike-0.0.0.8.tar.gz.

File metadata

  • Download URL: speclike-0.0.0.8.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for speclike-0.0.0.8.tar.gz
Algorithm Hash digest
SHA256 1d0cd73c69083a9a1c78125e54bea745885258619738705a12d7f4f0d69de3c2
MD5 d955e056fcf014aa1eeb2653b2002f85
BLAKE2b-256 f0636e1b5491f1d6014b89823c8f8f2cd79de142a441d5ea87ab2e8473dfcd4e

See more details on using hashes here.

File details

Details for the file speclike-0.0.0.8-py3-none-any.whl.

File metadata

  • Download URL: speclike-0.0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for speclike-0.0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5eae0faa8a3411770298981224073e909d57c3ccec69748e978f674404e15806
MD5 147357c7dcbfcc0562d6074be063b6e7
BLAKE2b-256 e661506da67be1ed8db9045eda160fc644d0d55db7752c8df9cad0482ed38e80

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