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


Functional Programming, Tests, and the Future

Mark Mzyk February 21, 2008

Michael Feathers has an interesting post up on the Beautiful Code blog.  In the post he notes the seeming oncoming rise of functional languages and then bemoans this because they are not object oriented and therefore cannot be easily tested. Michael feels that a strength of object oriented programming is its ability to overwrite methods […]