[TIP] why you should distribute tests with your application / module
Michael Gratton
michael at quuxo.com
Tue Sep 16 17:00:46 PDT 2008
On Tue, 2008-09-16 at 15:34 -0500, Pete wrote:
> Because I need to know what's in the data so that I can verify that
> full text queries against it return the correct results. How do you
> make sure your code is giving you the right output if you're feeding
> it random input? Makes no sense to me...
That's why you generate the test data in the fixture, right? You know
what it is because you created it in setUp().
/Mike
--
Michael Gratton <michael at quuxo.com>
Quuxo Software <http://web.quuxo.com/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.idyll.org/pipermail/testing-in-python/attachments/20080917/9c0c9482/attachment-0001.pgp
More information about the testing-in-python
mailing list