Pytest, but made easy
The easiest way to test your projects with pytest.
Functionality
Simplify the way we do our tests in python, and also is able to run the tests individually to be more accurate but a bit slower.
I had some tests that, when running all together, were failing due to memory issues. This is the way I solved it, and also I can log the results of my tests and clean the tests files folders very easy each time the tests are executed.
Usage
The tests folder will be your new friend. Keep a test_general.py to always do a simple test. Have the conftest.py to configure what has to be done before and after the tests are running.
This will execute the tests and remove all the new files in the test_files folder that were not before the tests were executed, or you can simply comment the test_files_handler.delete_new_files() line before running them, so the generated files are not removed in that execution, uncomment it, and they won't be removed in the next execution because they were already there.
That is the easiest way to test and see the file results.
Check test_various.py to see more examples.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_easy-0.0.1.tar.gz.
File metadata
- Download URL: pytest_easy-0.0.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88474a90c8b10bc08572e2534103b25348f18a59db3561b848dced375c5dcf01
|
|
| MD5 |
a838f70e72c4aa2cccbe38866ec5c842
|
|
| BLAKE2b-256 |
e45e33328bf5644be5226c35818542fc0a21e17eccefa57aa1a1d110d65190e6
|
File details
Details for the file pytest_easy-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pytest_easy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b8764da0175d8e691102555bb63e1b9d0800f8afe7b92a84ad173d27cdcc209
|
|
| MD5 |
75b719bc74d09ea48d2a298e59d77df7
|
|
| BLAKE2b-256 |
df178e82e6ffac9e42a7806963ca1c1375ceff477120a707d5e8753d4b606557
|