[ Content | View menu ]

Write Failing Unit Tests First

Mark Mzyk | August 7, 2008

This is just a reminder that you should write failing unit tests first, so that when you forget

if __name__ == '__main__'
    unittest.main()

in your test file, like I did, you don’t think everything is working because none of the tests fail.