Python Testing with pytest (2nd Edition)
English | 2022 | ISBN: 1680508601 | 502 Pages | AZW3 (True) | 2 MB
English | 2022 | ISBN: 1680508601 | 502 Pages | AZW3 (True) | 2 MB
Test applications, packages, and libraries large and small with pytest, Python's most powerful testing framework. pytest helps you write tests quickly and keep them readable and maintainable. In this fully revised edition, explore pytest's superpowers - simple asserts, fixtures, parametrization, markers, and plugins - while creating simple tests and test suites against a small database application. Using a robust yet simple fixture model, it's just as easy to write small tests with pytest as it is to scale up to complex functional testing. This book shows you how.