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.)

Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!
Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!

Doing Math with Python shows you how to use Python to delve into high school–level math topics like statistics, geometry, probability, and calculus. You’ll start with simple projects, like a factoring program and a quadratic-equation solver, and then create more complex projects once you’ve gotten the hang of...

Python Unlocked
Python Unlocked

Key Features

  • Write smarter, bug-free, high performance code with minimal effort
  • Uncover the best tools and options available to Python developers today
  • Deploy decorators, design patters, and various optimization techniques to use Python 3.5 effectively

Book...

Building Machine Learning Systems with Python - Second Edition
Building Machine Learning Systems with Python - Second Edition

Get more from your data through creating practical machine learning systems with Python

About This Book

  • Build your own Python-based machine learning systems tailored to solve any problem
  • Discover how Python offers a multiple context solution for create machine learning systems
  • ...

Python GUI Programming Cookbook
Python GUI Programming Cookbook

Over 80 object-oriented recipes to help you create mind-blowing GUIs in Python

About This Book

  • Use object-oriented programming to develop amazing GUIs in Python
  • Create a working GUI project as a central resource for developing your Python GUIs
  • Packed with easy-to-follow...
Learning Geospatial Analysis with Python - Second Edition
Learning Geospatial Analysis with Python - Second Edition

An effective guide to geographic information systems and remote sensing analysis using Python 3

About This Book

  • Construct applications for GIS development by exploiting Python
  • This focuses on built-in Python modules and libraries compatible with the Python Packaging Index distribution...
An Introduction to Python and Computer Programming (Lecture Notes in Electrical Engineering)
An Introduction to Python and Computer Programming (Lecture Notes in Electrical Engineering)

This book introduces Python programming language and fundamental concepts in algorithms and computing. Its target audience includes students and engineers with little or no background in programming, who need to master a practical programming language and learn the basic thinking in computer science/programming. The main contents come from...

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