Just stumbled on the markdown test suite, which might be a good
comparison to what we’re doing:
http://git.michelf.com/mdtest/
An example directory looks like this:
./Markdown.mdtest:
Amps and angle encoding.text
Amps and angle encoding.xhtml
Auto links.text
Auto links.xhtml
Backslash escapes.text
Backslash escapes.xhtml
…
The content of the Markdown.mdtest/Strong\ and\ em\ together.text file is:
"This is strong and em.
So is this word.
This is strong and em.
So is this word.
"
. . and of the XHTML:
"
This is strong and em.
So is this word.
This is strong and em.
So is this word.
"The php-based browser test runner and reporter is also kind of cool,
similar in principle to how this one works (but which is JS only; the
markdown one can run other languages as well):
http://code.google.com/p/jqunit/
Bruce