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

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

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

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

29.99 In Stock
Python Unit Test Automation: Practical Techniques for Python Developers and Testers

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

by Ashwin Pajankar
Python Unit Test Automation: Practical Techniques for Python Developers and Testers

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

by Ashwin Pajankar

eBook1st ed. (1st ed.)

$29.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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


Product Details

ISBN-13: 9781484226773
Publisher: Apress
Publication date: 02/23/2017
Sold by: Barnes & Noble
Format: eBook
Pages: 111
File size: 724 KB

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

Table of Contents

Chapter 1:  Introduction to PythonThe chapter will introduce readers to the testing concepts and Python 3. Readers will be able to setup the Python 3 environment on their computers. It will also list the differences between Python 2 and Python 3.
Chapter 2:  Getting StartedThis chapter will be a light and short chapter. It will be very easy to follow. In this chapter, readers will be introduced to hands-on test automation in Python 3.
Chapter 3: UnittestThis will be the largest chapter in terms of page count and contents. Readers will be introduced to the unittest framework for test automation. Additionally, it will have detailed explanation for philosophy of xUnit style of frameworks. Readers will learn a particular style of coding which they will follow throughout the book.
Chapter 4: Nose and Nose2In this chapter readers will explore nose and nose2. They will also explore few plugins for nose.
Chapter 5:  PytestIn this chapter, readers will explore pytest, the most recent and arguably the best unit test automation framework for Python 3.
Chapter 6: Tips and TricksIn this chapter, readers will be introduced with the concept of TDD in python with Pytest. They will also learn the best practices for the test automation.



From the B&N Reads Blog

Customer Reviews