From: Phlip Date: 2004-11-27T16:02:56+09:00 Subject: ANN: a non-heinous acceptance test rig inside MiniRubyWiki Rubistas: I have tuned my little Wiki to run acceptance tests. The "mini" in MRW stands for "minimal dependencies". The Wiki works either with a raw Ruby distribution alone, or with an additional CGI server, such as Apache. Instructions on installing Apache appear here: http://www.rubygarden.org/ruby?MiniRubyWiki/ApacheConfiguration This documentation will cover only the CVS head. I have not yet productized MRW, or wrapped things up into a new release. Get a tarball of the head (you heard it here first, folks) from one of these linkies: http://rubyforge.org/cgi-bin/viewcvs.cgi/?cvsroot=minirubywiki http://rubyforge.org/cgi-bin/viewcvs.cgi/cvs_root.tar.gz?tarball=1&cvsroot=minirubywiki (Do not run the unit tests that come with MRW. They assume my environment.) Now here's the non-heinous part. If you write nearly any XML (but with a preference for one test case for each node at an XPath of '/*/*', and with most data in attributes thereof), you can transclude that XML into the Wiki with this statement: !xml!myCommand!myPath/mySuite.xml The first bang ! must appear in the leftmost column. MRW uses a snip of XSLT to convert "any" XML into a list of forms. So given this XML... 15 16 2004 ....MRW will display a Wiki page, and in the middle put a form like this: suite * case --- action [ product ] input1 [ 5 ] input2 [ 3 ] +----------------+ | 15 | +----------------+ The [] are edit fields, and the 15 is inside a