Skip to main content

Automatically generate arguments of Python functions.

Project description

ExploTest

ExploTest is a tool to create unit tests from exploratory test runs.

This project is currently under active development and API breaks can occur at any time.

Installation

pip install ExploTest

Local Installation

python3 -m pip install -e <path/to/explotest>

Usage

On any function or method (except for closures), add the @explore decorator.

We accept two optional settings, mode and mark_mode:

  • mode can be either "p" or "a" (default is "p") to change the reconstruction mode.
  • mark_mode can be either False or True (default is False); if set to True tests are only generated if execution reaches a explotest_mark() function.

Development Setup

Create a venv, then install pip-tools. Run pip-compile as specified.

python3 -m venv .venv
pip install pip-tools
pip-compile -o requirements.txt ./pyproject.toml
pip install -r requirements.txt

Copyright

ExploTest is free and open source software, licensed under the GNU LGPL v3 or any later version.

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

explotest-0.9.0.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

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

explotest-0.9.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file explotest-0.9.0.tar.gz.

File metadata

  • Download URL: explotest-0.9.0.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for explotest-0.9.0.tar.gz
Algorithm Hash digest
SHA256 e2095e802b99d00f7adc5d91306a28158493c747fbc23a85fa10adce847665e5
MD5 dbf4e9b82d8082e2b2e7711023b95666
BLAKE2b-256 39c6807b7b11e3056b149c55f3ede2f23be5cdd1529b923e46dbbf331ecfe51d

See more details on using hashes here.

Provenance

The following attestation bundles were made for explotest-0.9.0.tar.gz:

Publisher: python-publish.yml on kliu04/explotest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file explotest-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: explotest-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for explotest-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d4a4f8422f871e49eaf6dd5aaa41ffe85df125811b8618e4f24847643242534
MD5 6089d4ed1950954aa4bb9f37c9f0df4c
BLAKE2b-256 3ba131575031218f63e049d404ef23b6071912c961a8573372380a3f8391ff71

See more details on using hashes here.

Provenance

The following attestation bundles were made for explotest-0.9.0-py3-none-any.whl:

Publisher: python-publish.yml on kliu04/explotest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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