LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Keeping score in test-driven development with Python, PyLint, unittest, doctest (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-keeping-score-in-test-driven-development-with-python-pylint-unittest-doctest-768732/)

LXer 11-12-2009 02:10 PM

LXer: Keeping score in test-driven development with Python, PyLint, unittest, doctest
 
Published at LXer:

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.

Read More...


All times are GMT -5. The time now is 01:07 PM.