Chapter 8. Debugging and Testing


    Introduction

    Recipe 8.1.  Disabling Execution of Some Conditionals and Loops

    Recipe 8.2.  Measuring Memory Usage on Linux

    Recipe 8.3.  Debugging the Garbage-Collection Process

    Recipe 8.4.  Trapping and Recording Exceptions

    Recipe 8.5.  Tracing Expressions and Comments in Debug Mode

    Recipe 8.6.  Getting More Information from Tracebacks

    Recipe 8.7.  Starting the Debugger Automatically After an Uncaught Exception

    Recipe 8.8.  Running Unit Tests Most Simply

    Recipe 8.9.  Running Unit Tests Automatically

    Recipe 8.10.  Using doctest with unittest in Python 2.4

    Recipe 8.11.  Checking Values Against Intervals in Unit Testing



Python Cookbook
Python Cookbook
ISBN: 0596007973
EAN: 2147483647
Year: 2004
Pages: 420

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net