Search This Blog

Pytest in Python

Agenda for Python Pytest



What is Pytest?
Getting Started With Pytest
Create Your First Test With Pytest
Multiple Tests
Group Multiple Tests
Pytest Fixtures
Parameterized Tests
Testing An API Using Pytest

What is Pytest?

pytest is a framework that makes building simple and scalable tests easy. Pytest is a mature full test python testing tool that helps you write better programs.

Advantages

1. Opensource
2. can skip test
3. can run test parallelly
4. subset of test in test program

To install pytest just use following command:
pip install -U pytest