Created on March 15, 2013, 9:04 p.m. by Hevok & updated by Hevok on May 2, 2013, 5:13 p.m.

The Python Assertions and Invariants make debugging easier. Just put an assertion in the beginning and to the end of each function where you check the input and output, so one will get live checking. The great advantage is that all Assertions can be switched off for Performance Reasons by a small change in Python config.


Tags: testing, test. coding programming
Categories: Tutorial
Parent: Python

Update entry (Admin) | See changes

Comment on This Data Unit