Python unit test automation

Python unit test automation: practical techniques for Python developers and testers

by Pajankar, Ashwin

Type Book
Rate 0.0 /5

This book shows readers how to automate unit testing of Python 3 code by introducing various Python 3 automation libraries, such as doctest, unittest, nose, nose2, and pytest. It also explores the important concepts in software testing and their implementation in Python 3. Hands-on knowledge of the frameworks helps readers to automate, organize, and execute their unit tests for Python 3. Knowledge of the frameworks discussed in the book is often acquired by reading source code, manuals, and pos…

Read More ↓

Title Statements

  • Full title :Python unit test automation : practical techniques for Python developers and testers / Ashwin Pajankar.

Summary

This book shows readers how to automate unit testing of Python 3 code by introducing various Python 3 automation libraries, such as doctest, unittest, nose, nose2, and pytest. It also explores the important concepts in software testing and their implementation in Python 3. Hands-on knowledge of the frameworks helps readers to automate, organize, and execute their unit tests for Python 3. Knowledge of the frameworks discussed in the book is often acquired by reading source code, manuals, and posting questions on community forums. This tends to be a slow and painful process. Python Unit Test Automation will allow readers to quickly ramp up their 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.

Read More ↓

Edition Statements

  • Publication Date:©2017

Publication Statements

  • Publisher(s):Apress
  • Place of Publication:United States
  • Language:eng
  • Publication Date:©2017

Notes

Includes index.

The Physical Object

  • Description:1 online resource : : illustrations

Edition Identifiers

  • ISBN:9781484226773, 1484226771
  • DOI:10.1007/978-1-4842-2677-3
  • oclc:ocn973932830
  • LC Classification:QA76.73.P98
  • Dewey Decimal:005.13/3

Table of Contents

At a Glance; Contents; About the Author; About the Technical Reviewers; Acknowledgments; Introduction; Chapter 1: Introduction to Python; The History of Python; Features of Python; Simple; Easy to Learn; Easy to Read; Easy to Maintain; Open Source; High-Level Language; Portable; Interpreted; Object-Oriented; Extensible; Extensive Libraries; Robust; Rapid Prototyping; Memory Management; Powerful; Community Support; Python 3; The Differences Between Python 2 and Python 3; Why Use Python 3; Installation of Python 3; Installation on Linux; Installation on Debian, Ubuntu, and Derivatives.

Installation on Fedora and CentOSInstallation on MacOS X; Installation on Windows; Running a Python Program and Python Modes; Interactive Mode; Normal Mode; IDEs for Python; IDLE; The PyDev Plugin for Eclipse; Geany; PyCharm; Conclusion; Chapter 2: Getting Started; A Brief Introduction to Software Testing Concepts; Unit Testing; Test Automation; The Benefits of Automated Unit Testing; Using Docstrings; Example of a Docstring in Python; A Brief Introduction to doctest; Failing Tests; Separate Test File; Advantages and Disadvantages of doctest; Conclusion; Chapter 3: Unittest.

Introduction to xUnitUsi…

Read More ↓

Subjects

Writers

Rate & Review

0.0/5
(0 people Voted)

No reviews yet. Be the first to rate this work.

Files & Downloads

No downloadable files are registered for this work yet.