Python Cookbook 2Nd Edition Jun 1002005 [Electronic resources]

David Ascher, Alex Martelli, Anna Ravenscroft

نسخه متنی -صفحه : 394/ 178
نمايش فراداده

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