Debugging, Unittest Module

Sanjib Kumar Sinha · Apress eBooks · 2016

Now you have progressed a lot. In the process of coding you must have found or seen many types of errors. It is quite obvious. The seasoned programmers also make mistakes. You have also learned to catch your errors. But the situation may come when you need to update your code. It might happen. You need to modify or add a few lines in your code. It may either work or it may fail. In your new lines of code there could be “syntactical” errors. There could be “runtime” errors. Usually the Python interpreter tries to guide you in such cases. Generally it points out where the error has occurred. But not always.

Read the paper · More papers on PaperTik