Pytest - Rapid and Simple Testing with Python
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Syllabus
Intro
Developer oriented automated tests
integration
py.test fundamental features
cross-project test tool
automatic test discovery
no boilerplate python test code
test classes with pytest
assert introspection
asserting expected exceptions
Failure / Traceback Demo
Dependency injection
Beyond simple testing: fixtures!
Example of a simple pytest fixture
Scoping fixture functions
Parametrizing fixtures
Parametrizing tests directly
Modularity: using fixtures from fixtures
Classes can use fixtures as well
Autouse fixtures
Fixture summary
comparison with unittest
plugins, plugins ...
pytest-coverage example
Using the distribution plugin
Upcoming Pytest-2.4 feature
Integrating context managers (2.4)
Tests need design and thought!
Taught by
EuroPython Conference
Related Courses
Selenium Webdriver with PYTHON from Scratch + FrameworksUdemy Use Python to Create a Web Testing Bot
Coursera Project Network via Coursera Unit Testing and Test Driven Development in Python
Udemy Elegant Automation Frameworks with Python and Pytest
Udemy Behavior Driven Python with pytest-bdd
Test Automation University