• Complain

Arbuckle - Python testing: beginners guide: an easy and convenient approach to testing your Python projects

Here you can read online Arbuckle - Python testing: beginners guide: an easy and convenient approach to testing your Python projects full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Birmingham, U.K, year: 2010, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Arbuckle Python testing: beginners guide: an easy and convenient approach to testing your Python projects
  • Book:
    Python testing: beginners guide: an easy and convenient approach to testing your Python projects
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2010
  • City:
    Birmingham, U.K
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Python testing: beginners guide: an easy and convenient approach to testing your Python projects: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Python testing: beginners guide: an easy and convenient approach to testing your Python projects" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Arbuckle: author's other books


Who wrote Python testing: beginners guide: an easy and convenient approach to testing your Python projects? Find out the surname, the name of the author of the book and a list of all author's works by series.

Python testing: beginners guide: an easy and convenient approach to testing your Python projects — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Python testing: beginners guide: an easy and convenient approach to testing your Python projects" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Python Testing Beginner's Guide
Daniel Arbuckle

Python Testing
Beginner's Guide

Copyright 2010 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: January 2010

Production Reference: 1120110

Published by Packt Publishing Ltd.

32 Lincoln Road

Olton

Birmingham, B27 6PA, UK.

ISBN 978-1-847198-84-6

www.packtpub.com

Cover Image by Vinayak Chittar (<>)

Credits

Author

Daniel Arbuckle

Reviewers

Rman Joost

Andrew Nicholson

Herjend Teny

Acquisition Editor

Douglas Paterson

Development Editor

Ved Prakash Jha

Technical Editors

Aditya Belpathak

Charumathi Sankaran

Indexer

Monica Ajmera Mehta

Proofreader

Lesley Harrison

Production Editorial Manager

Abhijeet Deobhakta

Editorial Team Leader

Aanchal Kumar

Project Team Leader

Lata Basantani

Project Coordinator

Srimoyee Ghoshal

Graphics

Geetanjali Sawant

Production Coordinator

Shantanu Zagade

Cover Work

Shantanu Zagade

About the Author

Daniel Arbuckle received his Ph. D. in computer science from the University of Southern California in 2007. He is an active member of the Python community and an avid unit tester.

I would like to thank Grig, Titus, and my family for their companionship and encouragement along the way.

About the Reviewers

Rman Joost is a professional Python software developer and a free software enthusiast, currently living in Australia. Since 2003, he has been contributing to the GNU Image Manipulation Program (GIMP) by writing documentation and contributing to the source code. He uses testing frameworks and test-driven methodologies extensively, when writing new components for the Z Object Publishing Environment (Zope) in Python.

Andrew Nicholson is a software engineer with over 12 years of professional commercial experience in a broad range of technologies. He is passionate about free and open source software (FOSS) and has actively participated in contributing code, ideas, and passion in the open source community since 1999.

Nicholson's biography can be read at http://infiniterecursion.com.au/people/.

Herjend Teny is an electrical engineering graduate from Melbourne who has come to love programming in Python after years of programming in mainline programming languages, such as C, Java, and Pascal.

He is currently involved in designing web application using Django for an Article Repository project on http://www.havingfunwithlinux.com/. The project would allow users to post their article for public view and bookmark it onto their favorite blog.

Preface

Like any programmer, you need to be able to produce reliable code that conforms to a specification, which means that you need to test your code. In this book, you'll learn how to use techniques and Python tools that reduce the effort involved in testing, and at the same time make it more usefuland even fun.

You'll learn about several of Python's automated testing tools, and you'll learn about the philosophies and methodologies that they were designed to support, like unit testing and test-driven development. When you're done, you'll be able to produce thoroughly tested code faster and more easily than ever before, and you'll be able to do it in a way that doesn't distract you from your "real" programming.

What this book covers

: Testing for Fun and Profit introduces Python test-driven development and various testing methods.

: Doctest: The Easiest Testing Tool covers the doctest tool and teaches you how to use it.

: Unit Testing with Doctest introduces the ideas of unit testing and test-driven development, and applies doctest to create unit tests.

: Breaking Tight Coupling by using Mock Objects covers mock objects and the Python Mocker tool.

: When Doctest isn't Enough: Unittest to the Rescue introduces the unittest framework and discusses when it is preferred over doctest.

: Running Your Tests: Follow Your Nose introduces the Nose test runner, and discusses project organization.

: Developing a Test-Driven Project walks through a complete test-driven development process.

: Testing Web Application Frontends using Twill applies the knowledge gained from previous chapters to web applications, and introduces the Twill tool.

: Integration Testing and System Testing teaches how to build from unit tests to tests of a complete software system.

: Other Testing Tools and Techniques introduces code coverage and continuous integration, and teaches how to tie automated testing into version control systems.

: Answers to Pop Quizes contains the answers to all pop quizes, chapter-wise.

What you need for this book

To use this book, you will need a working Python interpreter, preferably one of the 2.6 version series. You'll also need a source code editor, and occasional access to the internet. You will need to be comfortable enough using your operating system's textual interfaceyour DOS prompt or command shellto do basic directory management and to run programs.

Who this book is for

If you are a Python developer and want to write tests for your applications, this book will get you started and show you the easiest way to learn testing.

You need to have sound Python programming knowledge to follow along. An awareness of software testing would be good, but no formal knowledge of testing is expected nor do you need to have any knowledge of the libraries discussed in the book.

Conventions

In this book, you will find several headings appearing frequently.

To give clear instructions of how to complete a procedure or task, we use:

Time for action heading
  1. Action 1
  2. Action 2
  3. Action 3

Instructions often need some extra explanation so that they make sense, so they are followed with:

What just happened?

This heading explains the working of tasks or instructions that you have just completed.

You will also find some other learning aids in the book, including:

Pop quiz heading

These are short multiple choice questions intended to help you test your own understanding.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Python testing: beginners guide: an easy and convenient approach to testing your Python projects»

Look at similar books to Python testing: beginners guide: an easy and convenient approach to testing your Python projects. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Python testing: beginners guide: an easy and convenient approach to testing your Python projects»

Discussion, reviews of the book Python testing: beginners guide: an easy and convenient approach to testing your Python projects and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.