-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Vincent Massol Sent: Tuesday, December 01, 2009 12:45 PM To: XWiki Users Subject: Re: [xwiki-users] Testing framework within XWiki pages
Hi Joshua,
I worked a bit on this a few years ago. I started a Selenium-based test framework but the goal was to test functionally wiki pages. It's available here: http://code.xwiki.org/xwiki/bin/view/Applications/SeleniumApplication
Ah, excellent. Thanks for pointing that out, Vincent. The Selenium app will come in handy for certain scenarios, but I'll look into designing a testing framework for use within XWiki pages when working with scripts. I'll create a JIRA issue when I have a bit of time later. Thanks, Joshua
Other than that I don't recall hearing anything similar to what you mention.
Let us know how you progress!
Thanks -Vincent
On Dec 1, 2009, at 5:40 PM, Rieken, Joshua wrote:
Hello all,
I've been desiring a testing framework to aid my development efforts within XWiki pages. Specifically, I want to use test-driven development so that I can write tests for scripts before I write the scripts themselves. These tests would be harnesses (possibly using {{include document="Blah.Blah"}} and xwiki.parseGroovyFromPage("Blah.Blah")) and would report passes / failures / errors. There would also be a way to develop a suite of tests to run all at once, xUnit style. Before taking the time to develop this myself, has anyone developed something like this, or are there any recommendations or code you could share?
Thanks, Joshua
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users