Learn Pytest in 60 Minutes:Unit Testing Framework for Python
- 3.6
Brief Introduction
Pytest basic functionality | Setup & Tear Down | FixturesDescription
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.
pytest is a mature full-featured Python testing tool that helps you write better programs.
Features
Detailed info on failing assert statements (no need to remember self.assert* names)
Auto-discovery of test modules and functions
Modular fixtures for managing small or parametrized long-lived test resources
Can run unittest (including trial) and nose test suites out of the box
Python 2.7, Python 3.4+, PyPy 2.3, Jython 2.5 (untested)
Rich plugin architecture, with over 315+ external plugins and thriving community
Requirements
- Requirements
- Should have basic understanding of Software Testing
- Should have basic understanding of Unit Testing & Automation