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.9.tar.gz (8.3 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.9-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speclike-0.0.0.9.tar.gz
  • Upload date:
  • Size: 8.3 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.9.tar.gz
Algorithm Hash digest
SHA256 08a86043db4e4c955eb187907c452f938ef3a095b8e0a5ee7e69cb4742c45a74
MD5 0e478a0c4336d114f4b4f079dfbc6b12
BLAKE2b-256 85024109b6a1dabcfb5645723f5b3e0b63015289c05a0ca5b8f7e3dd7f916d1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: speclike-0.0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 8.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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9f4418237d0041faf9832ca4df5634a48a859d3ffa18b7936b4793c8cf81e796
MD5 9ee0f68d40f99cc2d8ba70e0db1d6420
BLAKE2b-256 9ade51555cae1b2b266ec4c75c7a7a6663738a4b7499bd20c9261416c53697ba

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