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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8803f53689aeaf3f79ab258e2dcd15267960196a16da3c6ad8b85cb888d6c59b
|
|
| MD5 |
21a5c89a20be7600d72d380953267749
|
|
| BLAKE2b-256 |
5fbbb0df147e9feb41d0eca10a8fa7cc0e38eea6f0072f3177c930d3456e89b3
|
File details
Details for the file adaptive_tests_py-0.1.1-py3-none-any.whl.
File metadata
- Download URL: adaptive_tests_py-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e8f8ee273aa5d544092d8780118fd778277a1ecb528e7116a1b1af69292252b
|
|
| MD5 |
6bc71eba51c7032d9e11bdeb8c252f88
|
|
| BLAKE2b-256 |
ae925be33ecc427a264172a2952b4aaa6e8fca3617812d897022b315bc0f0048
|