Tuesday, September 18, 2012

Python unittest, assertEquals V.S. assertTrue

It's better that using assertEquals than assertTrue since that it gives better feedback which shows the first and the second parameters and shows how it different. For assertTrue, it only shows that true or false.