Skip to main content
Apress

Python Unit Test Automation

Practical Techniques for Python Developers and Testers

  • Book
  • © 2017

Overview

  • Practical and hands-on approach for unit test automation in Python 3
  • PEP8 compliant code
  • Detailed explanation of the concepts and the code
  • Compares various testing libraries for Python 3

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (6 chapters)

Keywords

About this book

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






Reviews

“It provides a clear introduction to the options available for Python unit test automation, while at the same time introducing many general points about what one needs in a testing framework. For anyone who has begun writing Python programs, but is unsure about how to write automated tests for those programs, this book provides excellent guidance on how to get started.” (Computing Reviews, August, 2016) 

Authors and Affiliations

  • Nashik, India

    Ashwin Pajankar

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.
www.ashwinpajankar.com

Bibliographic Information

Publish with us