Skip to main content

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

pytest_easy-0.0.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_easy-0.0.3-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file pytest_easy-0.0.3.tar.gz.

File metadata

  • Download URL: pytest_easy-0.0.3.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10

File hashes

Hashes for pytest_easy-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d3dc01dd3fe3f036ee5de1fb92a7d029c34ae8ee00cd956f29b402ccaec95265
MD5 2a2f10bb0d6dc4a5c0b2b7348282093f
BLAKE2b-256 c14ed7e787afbd22b9af3e66ec6f735ee12af011b67d782bfb19fdd03237f0f0

See more details on using hashes here.

File details

Details for the file pytest_easy-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pytest_easy-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10

File hashes

Hashes for pytest_easy-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e03027185e222025a588aaf51542faa8f87373a440235697ba69cbca2aad8a40
MD5 b51b414b9af64ecd50ffc964009bce36
BLAKE2b-256 a2cc964be56e289a4cdb4c7d91365249eb14ca7083326ff766c2a74cc7f2de23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page