Python Testing: Beginner's Guide is a new book from Packt that is aimed at helping Python developers test their Python applications. This book, written by Daniel Arbuckle, covers everything one needs to test their code in Python.
Python is a general-purpose high-level programming language. It lets users work more quickly and integrate their systems more effectively. Conducting automated tests on Python applications moves much of the labor of testing off the developer while making it easier and quicker to find and fix bugs. While testing is neither an easy or exciting process for most developers with the right techniques and tools, testing can become a simple and gratifying part of the development process.
With this book, developers will be able to make their testing simpler and convenient with Python's doctest module, which allow developers to put their tests right into their doc strings. Developers will also be able to find and execute tests using Nose – a unittest-based testing framework for Python that makes writing and running tests easier. The Nose framework can be automatically executed as soon as the version control software detects changes in the source code.
The readers of this book will explore the assorted features Mocker – platform for creating Test Doubles in Python - provides to help them keep units separate from each other and customize it to suit their needs. Using the book, readers’ can also embed their tests in a controlled and temporary environment using test fixtures and simplify the integration of unittest and Mocker using Python Mocker's MockerTestCase. By setting up the Buildbot automated continuous integration system, developers will be able to run their tests repeatedly over many different environments. With various testing tools and techniques in simple, accessible language and step-by-step examples, this book is ideal for Python developers who have sound Python programming knowledge.
This book is out now and available from Packt. For more information, please visit: www.PacktPub.com/python-testing-beginners-guide/book
|Python Testing: Beginner's Guide|
|An easy and convenient approach to testing your powerful Python projects
For more information, please visit: www.PacktPub.com/python-testing-beginners-guide/book