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.1.tar.gz (7.0 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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speclike-0.0.0.1.tar.gz
  • Upload date:
  • Size: 7.0 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.1.tar.gz
Algorithm Hash digest
SHA256 651c2baaf6aa6d84dc490cf6ae035b473359e82880a74e6cbb37037f92343255
MD5 d2ac00d4b61b2ec596a3fb0e5fe23182
BLAKE2b-256 abced8960a14347da0af0a7ae14d2228122e2a92c1054ac5c591c146be0515da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: speclike-0.0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e70962009c5d01b18d8d4eb2e47de9690408a8c25952bb9406e57903e6098130
MD5 96a6e9e5e262e207b97a4a4b88fd808d
BLAKE2b-256 70d7ddcc0d89baec4af6b64aa57a2001f80b29acd1a05ba052e49d5352875470

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