Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Learning Python Testing

Buy
Learning Python Testing, 9781783553211 (1783553219), Packt Publishing, 2014

A straightforward and easy approach to testing your Python projects

About This Book

  • Develop your knowledge and skills to increase your confidence in tackling new challenges
  • Guides you through the tools of automated testing in Python 3 with practical and real-life examples
  • Shows you step by step how to turn testing from a burden into a benefit

Who This Book Is For

This book is ideal if you want to learn about the testing disciplines and automated testing tools from a hands-on, conversational guide. You should already know Python and be comfortable with Python 3.

What You Will Learn

  • Make testing easy and convenient with powerful tools such as doctest, unittest, and Nose
  • Walk through the test-driven development process step by step
  • Translate specification documents into actionable tests
  • Write tests that highlight exactly where a bug resides
  • Build on the basis of unit testing to be able to test a complete software system
  • Use unit testing to drive development and discover how this can make the process faster

In Detail

Automated testing is the best way to increase efficiency and decrease the defects of software testing. It takes away much of the effort on your part so that you can find bugs early and easily. The Python unit testing framework makes it easy to write efficient automated test cases in Python. Applications involving many paradigms and styles can be very complicated to test, but with the right tools, testing becomes the simplest part of the development process.

This book starts with a short introduction to testing, and then introduces the doctest tool, both in terms of practicalities and how it fits into the testing environment. From there, the discussion proceeds to unittest.mock and mock objects, and to unittest. Next, Nose is introduced and discussed. Later on, focus turns from the tools themselves toward best practices and disciplines of testing. Finally, the integration of testing with existing build processes and toolchains is covered. By the end of this book, you will know how to use automated testing quickly and easily and in a way that helps catch bugs early and fix them.

(HTML tags aren't allowed.)

Embedded Linux Primer: A Practical Real-World Approach (2nd Edition)
Embedded Linux Primer: A Practical Real-World Approach (2nd Edition)

Up-to-the-Minute, Complete Guidance for Developing Embedded Solutions with Linux

 

Linux has emerged as today’s #1 operating system for embedded products. Christopher Hallinan’s Embedded Linux Primer has proven itself as the definitive...

A FAREWELL TO ENTROPY: Statistical Thermodynamics Based on Information
A FAREWELL TO ENTROPY: Statistical Thermodynamics Based on Information
The principal message of this book is that thermodynamics and statistical mechanics will benefit from replacing the unfortunate, misleading and mysterious term entropy with a more familiar, meaningful and appropriate term such as information, missing information or uncertainty. This replacement would facilitate the interpretation of the driving...
Sustainable Transportation Systems
Sustainable Transportation Systems

This collection contains 81 papers describing innovations in the development of sustainable transportation systems. In the face of ongoing challenges such as traffic congestion, environmental degradation, and rising energy costs, transportation professionals look for new strategies, methods, and technologies to address issues of funding,...


Levine's Guide to SPSS for Analysis of Variance: Second Edition
Levine's Guide to SPSS for Analysis of Variance: Second Edition
In the decade since the publication of the first edition of this guide (Levine, 1991), and despite the development of several more specialized statistical techniques, analysis of variance (ANOVA) continues to be the workhorse for many behavioral science researchers. This guide provides instructions and examples for running analyses of variance, as...
Lean UX: Applying Lean Principles to Improve User Experience
Lean UX: Applying Lean Principles to Improve User Experience

The Lean UX approach to interaction design is tailor-made for today’s web-driven reality. In this insightful book, leading advocate Jeff Gothelf teaches you valuable Lean UX principles, tactics, and techniques from the ground up—how to rapidly experiment with design ideas, validate them with real users, and continually...

Chromosomal Alterations: Methods, Results and Importance in Human Health
Chromosomal Alterations: Methods, Results and Importance in Human Health

The book helps the reader to better understand cytogenetics and the intricacies of the methodology. The different methods of fluorescence in situ hybridization are discussed and the results achieved are presented. The book provides a comprehensive review of basic and applied aspects of cytogenetics and thus is of intense interest to all those...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy