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.4.tar.gz (7.4 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.4-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speclike-0.0.0.4.tar.gz
  • Upload date:
  • Size: 7.4 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.4.tar.gz
Algorithm Hash digest
SHA256 a4a0d020fa088e0975ef8f903307914cc025a38f10367a91f75c0aa0435fdad1
MD5 8b1a19e0282d455e2e35967e9aad7b06
BLAKE2b-256 c977d1ba823d9fded4480438b8aa3572fdb4d372ec8bba9d477eb947b9cc608a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: speclike-0.0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 caa0f114dd7687e12accfc069faa998c5d6a9befb06e5149090d676ae33cf1f1
MD5 f890cf2ffb03a7488f09004003bbd012
BLAKE2b-256 71e1d53b86fd1b446f87745b49d45a5b51b82699a2065e05605afc52e72724a5

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