PyTest
Pytest is a testing framework which allows us
to write test codes using python. You can write code to test anything like
database, API, even UI if you want. But pytest is mainly being used to write
tests for APIs.
Advantages of Pytest
1. Easy to start because of its simple and easy syntax.
2. Pytest can run tests in parallel.
3. Can run a specific test or a subset of tests.
4. PyTest automatically detect tests, if not mentioned explicitly.
5. Skip tests.
6. Open source.
PyTest Installation and Identifies the test files and methods in PyTest
How do i configure PuCharm to run my PyTest tests
PyTest - Assertions
PyTest - Run Multiple Tests , Specific test and subset of entire test
PyTest - Fixtures and Conftest
PyTest - Parameterized Test
PyTest - Skip and xFail
PyTest - Running tests in Parallel
PyTest - Generate Reports in XML
PyTest - Generate Reports in Html Format
Advantages of Pytest
1. Easy to start because of its simple and easy syntax.
2. Pytest can run tests in parallel.
3. Can run a specific test or a subset of tests.
4. PyTest automatically detect tests, if not mentioned explicitly.
5. Skip tests.
6. Open source.
PyTest Installation and Identifies the test files and methods in PyTest
How do i configure PuCharm to run my PyTest tests
PyTest - Assertions
PyTest - Run Multiple Tests , Specific test and subset of entire test
PyTest - Fixtures and Conftest
PyTest - Parameterized Test
PyTest - Skip and xFail
PyTest - Running tests in Parallel
PyTest - Generate Reports in XML
PyTest - Generate Reports in Html Format
Comments
Post a Comment