regression test enhancement for the Python unittest framework.
Project description
Regression test enhancement for the Python unittest framework
Writing tests is important (see here). And when it comes to an existing and running application even more. Existing results must at any chance be reproduced (like-for-like tests).
An easy way to add many test cases is by invoking the application and its subroutines many times. But taking notes (and hardcoding) of all results is annoying.
Here regtest might help.
Simply, write routines that invoke our application. The initial run will collect and store return values in files. The next time (and at any time these routines run) the return values will be checked against the stored ones.
To reset a routine simply remove the corresponding file (named accordingly) of stored reference data. The next time the reference data will be rebuild.
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
File details
Details for the file regtest-0.3.3.zip
.
File metadata
- Download URL: regtest-0.3.3.zip
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0f9fa744b4752ccc74a6c0897f5925ed13e4f2174131962de455ba7615e38c5 |
|
MD5 | c4f4540fef804c2135d7f76e88affc37 |
|
BLAKE2b-256 | f100ce422855fcde2bf89c8b25b624d8c2add4fede7667df30232620f7a131c3 |