Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python Pajankar Ashwin
Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python Pajankar Ashwin Learn how to automate unit tests of Python 3 with automation libraries, such as doctest, unittest,…
Specifikacia Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python Pajankar Ashwin
Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python Pajankar Ashwin
Learn how to automate unit tests of Python 3 with automation libraries, such as doctest, unittest, nose, nose2, pytest, and selenium. It also introduces readers to the concepts of web browser automation and logging.This new edition starts with an introduction to Python 3. This book explores important concepts in software test automation and demonstrates how to automate, organize, and execute unit tests with Python.
This is followed by a discussion on unittest, a framework that comes packaged with Python 3 itself. Next, it covers doctest and pydoc. There is a dedicated section on creating test suites, followed by an explanation of how nose2 provides automatic test module discovery.
Moving forward, you will learn about pytest, the most popular third-party library and testrunner for Python. You will see how to write and execute tests with pytest. You'll also learn to discover