Python Unit Test Automation: Practical Techniques for Python Developers and Testers

  • 1h 15m
  • Ashwin Pajankar
  • Apress
  • 2017

Quickly learn how to automate unit testing of Python 3 code with Python 3 automation libraries, such as doctest, unittest, nose, nose2, and pytest.

This book explores the important concepts in software testing and their implementation in Python 3 and shows you how to automate, organize, and execute unit tests for this language. This knowledge is often acquired by reading source code, manuals, and posting questions on community forums, which tends to be a slow and painful process.

Python Unit Test Automation will allow you to quickly ramp up your understanding of unit test libraries for Python 3 through the practical use of code examples and exercises. All of which makes this book a great resource for software developers and testers who want to get started with unit test automation in Python 3 and compare the differences with Python 2.

This short work is your must-have quick start guide to mastering the essential concepts of software testing in Python.

What You'll Learn:

  • Essential concepts in software testing
  • Various test automation libraries for Python, such as doctest, unittest, nose, nose2, and pytest
  • Test-driven development and best practices for test automation in Python
  • Code examples and exercises

Who This Book Is For:

Python developers, software testers, open source enthusiasts, and contributors to the Python community

About the Author

Ashwin Pajankar is a Polymath, Programmer, a Maker, an Author, a Youtuber, and a Science Popularizer. He graduated from IIIT Hyderabad with MTech in Computer Science and Engineering. He has keen interest in the promotion of Science, Technology, Engineering, and Mathematics (STEM) education. He has written multiple and published several books.

In this Book

  • Introduction to Python
  • Getting Started
  • Unittest
  • nose and nose2
  • pytest
  • Tips and Tricks

YOU MIGHT ALSO LIKE

Journey Python 3
Rating 4.8 of 19 users Rating 4.8 of 19 users (19)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.3 of 151 users Rating 4.3 of 151 users (151)
Rating 4.6 of 2165 users Rating 4.6 of 2165 users (2165)