[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Testing
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Testing
- From: Nicholas Dudfield <ndudfield@xxxxxxxxx>
- Date: Wed, 25 Jun 2008 17:38:59 +1000
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 25 Jun 2008 03:39:15 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=BNEDO8ZKNNzQMJX9FX5M4LpCKpvn978N/c45S9zSzEg=; b=ZdjodY8urVj8QjJ8vHhXTRsdns8F/crEDLukfZuLakt5ta4ihqO1lup5U+5q7HPpp3 lrCfJ3aN/CQe/izGNNwiyDqZ1HAcGHDK40rg/R9Dq1RcukcdhLpFaS3rxQuflKJDv2Mz EERZ840xnQTLtQbqK2aIj8H5AowjyxhwR+CEs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=o4wuD9iwsArbNWEYWPaMs1nQUlc27IBOdaYzeLzXs1K7nsFNwdkHTa/t/yzNS3Sv8S lDK9M+70jsfQEO+ozYbjU9Z9bNLAJnzxYWfLXtNwFc5mXt1AUSynT4EMCsznR8rV20NS GQaepmFx/EQJip/Go1Jhuu3YXgP8lx3jQKxok=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
Just a quick note,
Still waiting on my fan, it's getting shipped in from Amurricah.
I wrote a run_tests_sub.py the other day that uses subprocess to run
each xxxx_test.py in the trunk/test directory.
It will run with an optional threads paramater: -t num_threads
$ run_tests_sub.py -t 4
Apparently this runs faster on mult-core.
It should output results similar to run_tests.py though may need
tweaking to get it run transparently in place of run_tests.py for the
build page.
Speaking of the build page, Rene and I have had a few ideas for a
combined build / test web app that collected builds and test statistics
( profiling / passes etc). Also, a means to distribute the writing of
tests. Many hands make light work.
If it was possible to be assigned a stub of a test to fill out and then
post it back painlessly we could quite quickly increase the coverage of
our tests. If twenty people filled out 1 test a week, then over a month
that would be 80 extra unit tests.
ATM there are "FAILED (failures=232)", unimplemented tests and possibly
that many again that haven't been stubbed out waiting to be written.
$ run_tests.py -i
Will show tests that need fleshing out.