rewrote tests in unittest/ to python unittests
"Joerg Beyer" <j.beyer-S0/[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Organization | http://freemail.web.de/ |
| Message-ID | <[email protected]> |
Dear List Reader,
on popular request (by a single guy) I rewrote the tests in
the a-a-p directory Exec/unittest to be regular python
unittests. One advantage is, that the tests wont stop (sys.exit())
if a single tests fail.
Another advantage might be, that other coders could write
unittests, since they know how the usual python unittests
work.
I included the unittest.py (since Bram works with older
python releases that have it not includes - todays
python releases have). It originally lives on:
pyunit.sourceforge.net
I attach a tarball, that should be unpacked in the Exec directory.
To run the tests just call:
joerg@home> python unittest/checks.py
.........
----------------------------------------------------------------------
Ran 9 tests in 0.065s
OK
Later I will append unittest, that actually run receipes to test, if they
work. This tarball tests on a lower layer: python functions and classes,
but the technique is the same.
If you have questions, feel free to post on the a-a-p list, I am subscribed.
maybe you could use it.
Joerg
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01