Re: [xwiki-users] Testing framework within XWiki pages

2009-12-01 Thread Guillaume Lerouge
Hi Joshua,

On Tue, 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?
>

I don't think it has been done so far (apart from what Vincent suggested).

I'll be very happy to read about your progress! Making developing
applications in XWiki using TDD best practices would be a nice step towards
making it a better application creation platform and I'm sure many people
would like that :-)

Let us know how it goes, you could also consider creating a page on:
http://dev.xwiki.org/xwiki/bin/view/Ideas/
to document your idea and progression.

Good luck!

Guillaume


> Thanks,
> Joshua
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Testing framework within XWiki pages

2009-12-01 Thread Rieken, Joshua


> -Original Message-
> From: users-boun...@xwiki.org
> [mailto:users-boun...@xwiki.org] 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
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Testing framework within XWiki pages

2009-12-01 Thread Vincent Massol
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

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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Testing framework within XWiki pages

2009-12-01 Thread Rieken, Joshua
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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users