SoC Unit Test Status

Frank Tobia frank.tobia at gmail.com
Wed Jul 11 09:02:01 PDT 2007


Hi all,

Now that the Unit Test SoC project has results to show, I wanted to inform
the community and solicit feedback.

You can get the latest copy of the test suite from SVN by running:
svn checkout
https://svn.wxwidgets.org/svn/wx/wxPython/branches/SOC2007_UNITTEST/tests/u=
nittestunittest

>From there, 'runAllTests.py' runs the whole test suite with default option=
s,
or use 'runAllTests.py --help' to check out the various options for
configuration and data output.

I've updated the project page on the wxPyWiki, which is available at
http://wiki.wxpython.org/GUI_Unit_Testing_Project
That should explain most of the unit test suite; be sure to leave comments
or email me with questions if I omitted anything.

I'm going to need community support if this project is going to succeed.  In
effect, unit tests are executable documentation: both communicate the
software's expected behavior to developers and users, with unit tests being
able to check the code's adherence.  In writing unit tests, I've found a lot
of ambiguity and lack of documentation showing the expected behavior of many
different classes and methods.  Going forward, I plan on singling out these
cases, in order to clarify what the code should do.  I expect that, when
these important questions and issues arise, the community will reach a
consensus about what the code should do, and then it can be codified in the
form of a test.

The goals here are to improve code quality, reduce bugs, clear up
cross-platform issues, improve documentation.  The major focus, of course,
is on improving the user experience (and making development more enjoyable
:).  I'm looking forward to your feedback.

-Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-dev/attachments/20070711=
/758822fe/attachment.htm


More information about the wxpython-dev mailing list