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.13.tar.gz (8.3 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.13-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speclike-0.0.0.13.tar.gz
  • Upload date:
  • Size: 8.3 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.13.tar.gz
Algorithm Hash digest
SHA256 d18a7de5a87d78014df6a994950c3d6c5fa6c226e899477e71e9fcf1783f8083
MD5 c523d973e3c372ca8542a3c9b9edaa95
BLAKE2b-256 d2b25bb3d35fd146bf990eb3bdbb2756e0ee93c3c5b1b0aea20ac5687219cea1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: speclike-0.0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 8.5 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 4ca474c1f1e9f3e5137a3a1687457b77a3a9756a112c03b04b6024fac323901b
MD5 82dc045f50b60bb3b9f6ab91736752be
BLAKE2b-256 fe208c5deeddd97eaf9393531de4570efa66248b1236236bce0284d508faef4d

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