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.1.tar.gz (22.0 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.1-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: explotest-0.9.1.tar.gz
  • Upload date:
  • Size: 22.0 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.1.tar.gz
Algorithm Hash digest
SHA256 0476e755b86e090156393ccd6a445c94e7433b771e0103b40c30d4ffe41da757
MD5 9e0cd3c7f9d8d11bb26d3a3df7de79ad
BLAKE2b-256 ecaf5673560fc8a88d7e290895f14966cb141e3fc3c3e6ca1d6f2ceea41ed9fe

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: explotest-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 23.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-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39947edd8b4e6b1099fe83e39f74c25118d9f3638ccf472119cb93f9683ac674
MD5 8b9665ca832617488687ce779496267f
BLAKE2b-256 bc8d83c673fc34412463083d3427039bdd109c5701894bf018b29b48b109e041

See more details on using hashes here.

Provenance

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