Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.056 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'failing': 0.07; 'cc:addr :python-list': 0.11; 'jan': 0.12; 'did:': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'integration)': 0.16; 'roy': 0.16; 'folks': 0.16; 'wrote:': 0.18; 'written': 0.21; 'cc:addr:python.org': 0.22; 'fine': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'running': 0.33; 'fri,': 0.33; 'test': 0.35; 'received:google.com': 0.35; 'subject:one': 0.36; 'problems': 0.38; 'solve': 0.60; 'ago.': 0.61; 'took': 0.61; 'our': 0.64; 'box,': 0.64; 'smith': 0.68; 'look.': 0.84; 'subject:Score': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=D9A5rjQCOcSEhiivT3SL00OzTdE/3DeHB0xqwh8F918=; b=S2OE6voTBMNn8xo62BebS9aizY82viFrIn2x/o5WtzYcaJr0T3rC2hpbdmrM15LbT1 +uzqQZpN98jqc34jcB7vPzT8bprY/T7VTOmf27OZzPpxfyGtCddh6apw3NlMMoj4cCwD gUzLzmIFpJazZQ1ImjobMQzI3fSnMu4qM0XcqKt3cnPVgrMBO8GwDIN29E5MZglHgmCP D/EPuiJVXC6sFXLb4R2+yquDuABDQHqyJbultFS2txFk//IHa4erF8C9TLRG4XW/gdXH SPdaRyVRxJ8itbJeEdDtQUhSm6b7uM2gFJM1HeLv2BP6DL+MFDPGCNaxkJiX3rIEZLht ZG2g== MIME-Version: 1.0 X-Received: by 10.68.134.98 with SMTP id pj2mr91191694pbb.110.1388703645411; Thu, 02 Jan 2014 15:00:45 -0800 (PST) In-Reply-To: References: Date: Fri, 3 Jan 2014 10:00:45 +1100 Subject: Re: Score one for unit testing. From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388703653 news.xs4all.nl 2972 [2001:888:2000:d::a6]:56227 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63005 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: http://thedailywtf.com/Articles/Productive-Testing.aspx ChrisA