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.5.tar.gz (7.5 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.5-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speclike-0.0.0.5.tar.gz
  • Upload date:
  • Size: 7.5 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.5.tar.gz
Algorithm Hash digest
SHA256 abb2ed4334b3d7086b25e012df05e9fffc49be4bf6f14961644be7cec986d291
MD5 0b4159d30e763044d307c4cf2d9d8a20
BLAKE2b-256 66f581619fe4c9c1fd2cf868d5e4e467ab031da4d767637bc7a98cf665cc0f5a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: speclike-0.0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 83656fac9c43abfcdcaf68ddf22d8c094d85fcf85065e2cef42da7c05f62ca4a
MD5 f7df858103a681621d9c3730a485f19d
BLAKE2b-256 18188bca4abf73de2e1a822af2ba6c4fa188d6ceaa664ecdea2f6c98570a6008

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