Skip to main content

Autotest python code

Project description

An implementation of autotest for Python inspired by autotest and guard.

Autopytest observes file change events and whenever you save a file it runs the appropriate test.

Install

poetry add autopytest

Configuration

[tool.autopytest]
source_directories = ["app", "lib"]
test_directory = "tests"

Test Naming

Test naming is currently important. For example given the above configuration if app/models/order.py is edited we will attempt to locate and run tests/app/models/test_order.py

Usage

cd <project>
autopytest

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

autopytest-0.0.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

autopytest-0.0.1-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page