Pajankar, Ashwin
Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python
- ISBN 13:
- 9781484278536
- author:
- Pajankar, Ashwin
- format:
- Paperback / softback
- publisher:
- APress
- language:
- English
- Publication Year:
- 2021
- Pages:
- 209
- Dimensions:
- 23.4 x 15.6 x 1.2 centimeters (0
- Genre:
- Computers, Programming, Python,
- Condition:
- New
- Availability:
- Item usually sent within 20 working days
Description
Automate unit tests for Python 3 with automation libraries such as doctest, unittest, nose, nose2, pytest, and selenium. This book explores key concepts in software test automation and demonstrates how to automate, organize, and execute unit tests using Python.
Starting with an introduction to Python 3, the book covers various testing frameworks, including doctest and pydoc, before moving on to unittest, a framework that comes packaged with Python 3. You'll also learn about nose2, pytest, and how to write and execute tests with pytest.
A new edition of this book includes two additional chapters: one on web browser automation with Selenium, and another on logging frameworks such as Python's built-in logger and loguru. The book concludes by exploring test-driven development with pytest, using a small project to demonstrate the TDD methodology.