Brion Vibber wrote:
I'd like
to try this out under stress with my test suite (which I
just resurrected from the CVS attic).
For anyone else who might be interested in the test suite, which
actually tests the wiki over-the-web with multi-threaded fetches
and searches and such and shares no code at all with mediawiki,
making it a proper QA test, I've put it on my subversion server
(I don't much like CVS):
http://piclab.com/svn/wikitest
Personally, I'd prefer to see more work on the internal parser tests and
unit tests.
I should note that I don't necessarily think an HTTP-based test suite is
useless; such tests would be necessary to validate HTTP caching
behavior, link resolution, etc.
But the variability of the user interface makes it really hard to do
anything useful with an HTML screen-scraper, and that includes automated
testing. Lower-level tests that hook into the code should a) be able to
effectively test things that are hard or impossible to test from
outside, and b) promotes the ongoing modularisation of the code.
The parser test suite is run from maintenance/parserTests.php (test
cases in maintenance/parserTests.txt). There are some PhpUnit-based unit
tests in tests/ also, but these aren't very complete and haven't been
kept up to date for changes in HEAD.
There's also some standalone tests for the Unicode validation and
normalization library in includes/normal/.
-- brion vibber (brion @
pobox.com)