TL;DR

Need to know: Testing theory (smoke test, critical path), pytest (hooks, mocking, marks, fixtures), Selenium

PyTest Summary

  1. Set of tests with custom marks, tests with built-in @pytest.mark.parametrize marks
  2. Test exceptions with pytest.raises(ValueError)
  3. xfail, xpass, skip, skipif
  4. Fixtures (setup, teardown), data fixtures (that return data)
  5. Fixtures scope: function, class, module, or session, @pytest.mark.usefixtures('class_scope')
  6. Parametrizing Fixtures @pytest.fixture(params=tasks_to_try)
  7. pytest-cov - to test the coverage
SuperMade with Super