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-1.0.0.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

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

explotest-1.0.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for explotest-1.0.0.tar.gz
Algorithm Hash digest
SHA256 abbaf0c8115f2ce9d2af6978a7f6bcdb63c3a60352f73557166d3b7728b7ca7f
MD5 738137ce700ff6e0cfe4cb06a032db3e
BLAKE2b-256 0772584f511df86dfab217e460b767b84ffbb298174ccabe92f58d435d7eaba8

See more details on using hashes here.

Provenance

The following attestation bundles were made for explotest-1.0.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-1.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for explotest-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99aecff7d09be77192b5c17ef328c98fd6f6355a9bc522a48b7192cd4241a482
MD5 33b7367df5763672b445706901be5b23
BLAKE2b-256 3517b578e42e6f235290874b27cdc3eeaf0a056f8e016577bf22b265a2e0d808

See more details on using hashes here.

Provenance

The following attestation bundles were made for explotest-1.0.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