Book

pytest Quick Start Guide

Python's built-in unittest module is showing it's age; hard to extend, debug and track what's going on. The pytest framework overcomes these problems and simplifies testing your Python software. Many users love to use pytest and the improvement in their testing shows! This book is the ideal introduction to pytest, teaching you how to write tests of increasing complexity.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

5h20m

Language

English

About Book

Who Is This Book For?

This book is for Python programmers that want to learn more about testing. This book is also for QA testers, and those who already benefit from programming with tests daily but want to improve their existing testing tools.

Book content

chapters 5h20m total length

Introducing pytest

Writing and running tests

Markers and parametrization

Fixtures

Plugins

Converting unittest suites to pytest

Wrappin up

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required