Baby Steps With nose's --stop Option

| Comments

Sometimes (when you aren’t really doing true TDD), you make a change that breaks a lot of tests. When this happens, nose’s output can be long and gross, especially if your tests use print statements to help debugging.

In this case, you really want to just fix the errors one at a time. Its handy to use the —stop (or -x) option of nosetests, which makes the run stop at the first sign of trouble.

This makes it easier to read the output and helps morale, since you can tackle one failure at a time.

blog comments powered by Disqus

About this Entry

This page contains a single entry by Aaron Oliver published on December 23, 2008 11:15 AM.

Create Rough Web Page Mocks Like the Pros was the previous entry in this blog.

I'm Going to CodeMash 2009 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Categories

Creative Commons License
This blog is licensed under a Creative Commons License.