Главная
Study mode:
on
1
Intro
2
Developer oriented automated tests
3
integration
4
py.test fundamental features
5
cross-project test tool
6
automatic test discovery
7
no boilerplate python test code
8
test classes with pytest
9
assert introspection
10
asserting expected exceptions
11
Failure / Traceback Demo
12
Dependency injection
13
Beyond simple testing: fixtures!
14
Example of a simple pytest fixture
15
Scoping fixture functions
16
Parametrizing fixtures
17
Parametrizing tests directly
18
Modularity: using fixtures from fixtures
19
Classes can use fixtures as well
20
Autouse fixtures
21
Fixture summary
22
comparison with unittest
23
plugins, plugins ...
24
pytest-coverage example
25
Using the distribution plugin
26
Upcoming Pytest-2.4 feature
27
Integrating context managers (2.4)
28
Tests need design and thought!
Description:
Explore pytest, a rapid and simple testing framework for Python, in this EuroPython 2013 conference talk by Helger Krekel. Dive into developer-oriented automated tests, integration techniques, and fundamental py.test features. Learn about automatic test discovery, writing boilerplate-free Python test code, and utilizing test classes with pytest. Master assert introspection, exception assertion, and dependency injection. Discover the power of fixtures, including simple and parameterized examples, scoping, and modularity. Compare pytest with unittest, explore plugins like pytest-coverage, and get a glimpse of upcoming Pytest-2.4 features. Gain insights on test design and thoughtful implementation to enhance your Python testing practices.

Pytest - Rapid and Simple Testing with Python

EuroPython Conference
Add to list