[ 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.

Filed in: Programming.

One Comment

  1. Pingback from User links about "unittests" on iLinkShare:

    […] | user-saved public links | iLinkShare 3 votesWrite Failing Unit Tests First>> saved by joey0028 2 days ago2 votes23.06.2008 Writing Unit Tests with GLib>> saved by […]

    October 13, 2008 @ 14:03