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.3.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.3-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speclike-0.0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 326052a5dbc7314e00181fa42647dbf2fc3a7905c122557a13cc1bccff5029eb
MD5 f09eb60d6a2518819474c378a3c2100f
BLAKE2b-256 8ca3cc854a7068e309d39a8b57185beaf0413a0854ddf9aaa28ac4ade639db17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: speclike-0.0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f4c888c5a2152f188b4e4327cc76e92d5fd050730f5d82f1c1bd4057895d7c59
MD5 58290a4d1bbba4de9ae18c69fcc278fd
BLAKE2b-256 6bcf5363bae2efcb3eb41c527742f128957202a509fa387a21555280559ca436

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