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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for autopytest-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c023e104379c7c423eab51d06830fc748d9a4bac92123c9e8217dc8546d2cb1a |
|
MD5 | 2861f86b2bb7676f14959a604cea0fe2 |
|
BLAKE2b-256 | f6c6f720300b3e4e513c34677d07d80aec43d735ea391520754b67d563841970 |