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.2.tar.gz (7.6 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.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_easy-0.0.2.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

Hashes for pytest_easy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 52b8aac6ac5ec120a30d8550e7027b776ca5e5f29ee192d5ecc2c5b7117420c3
MD5 c0d3973c785a2d5648495ec31ada064e
BLAKE2b-256 2d111c16e41fd97178a540a9e01833b03bd1140df7f6d8bb3735959d94934010

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_easy-0.0.2-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

Hashes for pytest_easy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff106e363aeb99d65a8e5c60d1872eca3bbf2a2f60fca9191df34bb86ac183e1
MD5 df08a0921661f29c953ece452f6e1b38
BLAKE2b-256 ca97ec18467912764e6dabac3a566f5888b8d6f461454de69d8fea5f68ac9db1

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