Pytest tutorial
Introduction to Pytest
Pytest is a framework which is built by using python language it is mainly used for test framework.
Uses of Pytest
- Using pytest we can group the test cases and execute the test cases using a group name.
- Pytest helps to skip the test cases which are not required while executing the test suite.
- We can pass the parameters from pytest fixtures to the methods in run time.
- We can execute test cases parallely using pytest.
- We can stop executing the test suite after N number of test failures.
- Pytest is free and it's a open source