intro-to-pytest
An introduction to PyTest with lots of simple, hackable examples
File Explorer
Download Latest Version (.zip)- __init__.py
- services.py
- 00_empty_test.py
- 01_basic_test.py
- 02_special_assertions_test.py
- 03_simple_fixture_test.py
- 04_fixture_returns_test.py
- 05_yield_fixture_test.py
- 06_request_test.py
- 07_request_finalizer_test.py
- 08_params_test.py
- 09_params-ception_test.py
- 10_advanced_params-ception_test.py
- 11_mark_test.py
- 12_special_marks.py
- 13_mark_parametrization.py
- 14_class_based_test.py
- 15_advanced_class_test.py
- 16_scoped_and_meta_fixtures_test.py
- 17_marked_meta_fixtures.py
- 18_the_mocker_fixture.py
- 19_re_usable_mock_test.py
- __init__.py
- other_stuff.py
- 00_empty_test.md
- 01_basic_test.md
- 02_special_assertions.md
- 03_reviewing_the_basics.md
- 04_intro_to_fixtures.md
- 05_fixture_return_values.md
- 06_yield_fixtures.md
- 07_request_fixtures.md
- 08_request_finalizers.md
- 09_intro_to_parameters.md
- 10_parameter-ception.md
- 11_advanced_parameter-ception.md
- 12_reviewing_fixtures.md
- 13_intro_to_test_marking.md
- 14_mark_based_parameters.md
- .gitignore
- conftest.py
- README.md
- requirements.txt
- tox.ini
# Installation Guide
1. Get the code
git clone https://github.com/pluralsight/intro-to-pytest
Downloads the entire project code from GitHub to your computer.
cd intro-to-pytest
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
