Skip to main content

Adaptive test discovery for Python projects

Project description

adaptive-tests-py

Python port of the adaptive discovery engine. It mirrors the JavaScript API so polyglot teams can keep their testing strategy consistent across stacks.

Installation

pip install adaptive-tests-py

Usage

from adaptive_tests_py import DiscoveryEngine, Signature

engine = DiscoveryEngine(root=".")
TodoService = engine.discover(
    Signature(name="TodoService", methods=["add", "complete", "list"])
)

service = TodoService()
service.add("Ship adaptive tests")

See examples/python/ for a full pytest demo and advanced signatures.

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

adaptive_tests_py-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adaptive_tests_py-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file adaptive_tests_py-0.1.0.tar.gz.

File metadata

  • Download URL: adaptive_tests_py-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for adaptive_tests_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 501faa7b7bea4b258322584f743ee7b932896c2c5d1569f976aca71a2c542243
MD5 9159f69ff7d70db0281faf5db4207f62
BLAKE2b-256 5ee707d27ae653ef8ddb64fdb05a26983190aaa9a946c00ceace74527e893bf1

See more details on using hashes here.

File details

Details for the file adaptive_tests_py-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for adaptive_tests_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e326d667641b3728c0830b15536aa191f0400f9345552f7a3013c3a0210530ec
MD5 f6330c74ab50c694dc8465960d6a242d
BLAKE2b-256 e3080259e6273efa4508156b03595d37975d02f2e58443c5e4758ad34c3a60d0

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