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.2.tar.gz (7.1 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.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speclike-0.0.0.2.tar.gz
  • Upload date:
  • Size: 7.1 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.2.tar.gz
Algorithm Hash digest
SHA256 42510f2de6db8edaf4d0407dc5b03705884e1f9f679dc1b20a14c6587c4d8e80
MD5 175c1be8deef31160fc679831fc53f42
BLAKE2b-256 e268fb30f0db74869f71ad0df7766ee6595f0aa138945d7410e5d2099fca6a0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: speclike-0.0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e8dc0c2fb7025c592d4c0344a8a0543c234d1bd72d646199ff374147b69984a
MD5 f9e276f0dc2bd7c4c6167d50da059bfd
BLAKE2b-256 24e0f3f70c264c41047a2b2d9ac41dc8ed3a57cdbc4e661b69ffa0e15145cd4c

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