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.15.tar.gz (8.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.15-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speclike-0.0.0.15.tar.gz
  • Upload date:
  • Size: 8.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.15.tar.gz
Algorithm Hash digest
SHA256 d1044000a85ca21aede236ceb8a384809c4b7903ee7949e279d47f6de3ffaf17
MD5 7b5756c9dadac07a0825451fcbc6699c
BLAKE2b-256 287aaff6c01c2d34c30b34ae9ced7857aea8d8b5b6d385a1df9cf81aabbcb426

See more details on using hashes here.

File details

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

File metadata

  • Download URL: speclike-0.0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 1bb39c29d2449eaf34bf975e9cbf45254aef43b5256eac55032885faa103a49a
MD5 d0259c2e68bbe12ed3b780139aa67194
BLAKE2b-256 a96c51dcb74d5403a58cdb58b8c65ceb569f4150b8e770c71a4d3ba96b1029f1

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