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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for adaptive_tests_py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8803f53689aeaf3f79ab258e2dcd15267960196a16da3c6ad8b85cb888d6c59b
MD5 21a5c89a20be7600d72d380953267749
BLAKE2b-256 5fbbb0df147e9feb41d0eca10a8fa7cc0e38eea6f0072f3177c930d3456e89b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adaptive_tests_py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e8f8ee273aa5d544092d8780118fd778277a1ecb528e7116a1b1af69292252b
MD5 6bc71eba51c7032d9e11bdeb8c252f88
BLAKE2b-256 ae925be33ecc427a264172a2952b4aaa6e8fca3617812d897022b315bc0f0048

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