Re: Score one for unit testing.

2014-01-02 Thread Chris Angelico
On Fri, Jan 3, 2014 at 9:53 AM, Roy Smith wrote: > We've got a test that's been running fine ever since it was written a > month or so ago. Now, it's failing intermittently on our CI (continuous > integration) box, so I took a look. I recommend you solve these problems the way these folks did:

Score one for unit testing.

2014-01-02 Thread Roy Smith
We've got a test that's been running fine ever since it was written a month or so ago. Now, it's failing intermittently on our CI (continuous integration) box, so I took a look. It turns out it's a stupid test because it depends on pre-existing data in the database. But, the win is that while