Learning Python Testing
By Daniel Arbuckle
Publisher: Packt Publishing
Final Release Date: November 2014
Pages: 200

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.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLearning Python Testing
 
4.5

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Displaying reviews 1-2

Back to top

 
4.0

smooth reading

By Tom

from Nacka, Sweden

About Me Developer

Verified Reviewer

Pros

  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Intermediate
    • Novice

    Comments about oreilly Learning Python Testing:

    This is a book that is well written and smooth to read.

    The book does not cover too much, and much of what is covered can be found on the internet, but it is nicely presented. I read it as an introduction to what tools to use and where to find them.

    The book assumes the reader to be a beginner and there is some repetition, so some pages can be glossed over quickly.

     
    5.0

    it's what I needed

    By ianai

    from Las Vegas, Nv

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate
      • Student

      Comments about oreilly Learning Python Testing:

      I'd been trying to wrap my head around unit testing. This took me right where I needed to be.

      I really appreciate the author's example problem as well. It's a dynamic website written in Django (aka python) and tested with Selenium and python's unit test tools.

      Displaying reviews 1-2

      Back to top

       
      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook:  $23.99
      Formats:  ePub, Mobi, PDF