On 05/07/2010 09:14 AM, Vincent Massol wrote:
Hi,
Right now we check pages in our functional tests (xhtml validity, no error when executing
the page, no failing macro).
I was wondering about the idea of having the checks done inside wiki pages so that we
could provide a sanity check wiki page in the admin section for admins.
Then we would use that page from our junit test and people would also be able to run it
too from inside their wiki.
Thus killing 2 birds with one stone
I think we're lacking such kind of tools for wiki admins and it could be interesting.
You mean some velocity/groovy script which checks things in the wiki,
like "does the document X exist, does the document Y have PR, does the
class Z exist", right? Yes, I like the idea.
Another idea would be to write selenium tests as HTML tables and run
them from the browser, this would allow to run the tests both from mvn
and from the running wiki.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/