Hello Shanky, Pytest is one of the most commonly used test framework which has a lots of benefits over other frameworks:
- 
Can be used to create simple as well as complex functional test cases
 
- 
Compatible with other test frameworks like unittest etc
 
- 
Used by development teams, test teams, teams that are practicing Test Driven Development(TDD), as well as in open-source projects.
 
- 
Support Fixtures & Classes, which makes it easier to create common test objects available throughout a module/session/function/class.
 
- 
Easy to port existing test suites to pytest for performing test automation using pytest with Selenium WebDriver.
 
- 
Supports Parameterization, which is instrumental in executing the same tests with ‘different configurations’ using a simple marker. Thus resulting in more effective test cases/test suites with ‘less repetitive code implementation’.
 
- 
Number of Asserts that provide more detailed information about the failure scenarios.
 
- 
xdist support through which test cases can be parallelized.