pytest: Simple, rapid and fun testing with Python
Florian Bruhin - 4 years ago
The pytest tool presents a rapid and simple way to write tests for your
code. Not only is it a much more powerful replacement for Python's
built-in "unittest" test framework, it's also very suitable as a base
for custom test systems: It's used to test IoT-fridges, washing
machines, car components or even audio codecs.
This talk gives an introduction to some of pytest's distinguishing
features, such as:
- Automatic test discovery, no-boilerplate test code
- Useful information when a test fails
- Marking and skipping tests
- Data-driven tests via parametrization
- Modular setup/teardown via fixtures
- Useful built-in fixtures
- Customizability via many config options and hundreds of plugins
Jobs with related skills
Team Lead Backend (w/m/d)
aedifion GmbH
·
1 month ago
Senior Software Developer (Rust/Python/AI/RAG)
basebox GmbH
·
1 month ago
Utting am Ammersee, Germany
Hybrid
Research Assistant for the area of Software Development
Fraunhofer-Institut für Integrierte Schaltungen IIS
·
10 days ago
Dresden, Germany
Hybrid
Virtuoso EDA Software Engineer and Administrator
Fraunhofer-Institut für Integrierte Schaltungen IIS
·
10 days ago
Erlangen, Germany
Hybrid
Related Videos