[TIP] why you should distribute tests with your application / module
Grig Gheorghiu
grig at gheorghiu.net
Wed Sep 17 10:52:13 PDT 2008
--- On Wed, 9/17/08, Pete <pfein at pobox.com> wrote:
>
> I mean for distribution. My test dataset falls into some
> middle
> ground - it's a few megabytes. Not the gigabytes that
> would lean
> towards generation, but still larger than the rest of my
> source tree.
> Seems silly to turn a 30K package into a 5M one b/c of test
> data...
>
Idea: don't include your test dataset with your source code, but have your test script wget it from some location during the test run. Amazon S3 comes to mind as a very cheap repository for this kind of stuff.
Grig
More information about the testing-in-python
mailing list