Need to know: Testing theory (smoke test, critical path), pytest (hooks, mocking, marks, fixtures), Selenium
PyTest Summary
- Set of tests with custom marks, tests with built-in @pytest.mark.parametrize marks
- Test exceptions with
pytest.raises(ValueError) - xfail, xpass, skip, skipif
- Fixtures (setup, teardown), data fixtures (that return data)
- Fixtures scope:
function, class, module, or session, @pytest.mark.usefixtures('class_scope') - Parametrizing Fixtures
@pytest.fixture(params=tasks_to_try) - pytest-cov - to test the coverage
Made with Super