Keeping score in test-driven development with Python, PyLint, unittest, doctest, and PyRate

Posted by scrubs on Nov 12, 2009 4:01 PM EDT
Free Software Magazine; By Terry Hancock
Mail this story
Print this story

Programming is more fun when you keep score. The extreme programming (XP) development model popularized the idea of test-driven development (TDD) with professional programmers in mind. But TDD turns out to be even more useful for lone amateur programmers, because it provides much needed motivation in the form of more visible rewards for your work. This is true even when simple test runners are used, but I decided to make things a little snappier by including a couple of other types of measurement and generating a “scorecard” for the present state and progress of my Python software projects. Here’s how it works, and a download link for my script, which I call “PyRate”. Read the full howto at Free Software Magazine.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.