Hi
I have a requirement to conduct unit testing and integration testing of my XForms. How can this done. What can be the approaches to this? Any suggestions on this are welcome thanks ilango On Mon, Sep 22, 2008 at 2:50 PM, Hank Ratzesberger <[hidden email]> wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
On Tue, 23 Sep 2008 10:23:41 -0400
ilango <[hidden email]> wrote: > Hi > I have a requirement to conduct unit testing and integration testing of my > XForms. How can this done. What can be the approaches to this? > > Any suggestions on this are welcome > > thanks > ilango good question! I'm very interested in any answer to this...... thx rich -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
"Richard C. Hidalgo Lorite" wrote:
> On Tue, 23 Sep 2008 10:23:41 -0400 ilango wrote: > > I have a requirement to conduct unit testing and integration > > testing of my XForms. How can this done. What can be the > > approaches to this? > good question! I'm very interested in any answer to this...... So do I! (I don't want to make noise on the list, but I think this is a really, really important question and I don't know anything obvious in Orbeon) Regards, --drkm -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi,
In our projects, for XPL pipelines we usually write separate unit tests as another XPL pipelines, that are run by a test script in test environment. But that's only for XPL actions and models and not as easy as it could be. For XForms web interface testing we use Selenium - http://selenium.openqa.org/. That could be used as integration testing. Jurgis Florent Georges wrote: "Richard C. Hidalgo Lorite" wrote:On Tue, 23 Sep 2008 10:23:41 -0400 ilango wrote:I have a requirement to conduct unit testing and integration testing of my XForms. How can this done. What can be the approaches to this?good question! I'm very interested in any answer to this......So do I! (I don't want to make noise on the list, but I think this is a really, really important question and I don't know anything obvious in Orbeon) Regards, --drkm -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Florent Georges-3
You can use the Selenium IDE (http://selenium-ide.openqa.org/) to create
functional (end-user) tests. Due to the heavy use of JS in the pages, I'm not sure if there is any other framework that you can use for functional testing - however with the noscript command you could maybe use another form of functional framework (like zope.testbrowser which doesn't support javascript) Not sure about unit tests. While you can write unit tests for the Orbeon Forms code itself, it is very difficult to write any form of unit test for developers using Xforms (as nearly every aspect of the Xforms application will be relying on the Xforms engine - this means you end up writing integration tests instead). If you wanted to test specific javascript code in isolation, you can use a framework such as JsUnit (http://www.jsunit.net/) I've written several Selenium tests before for my xforms application, however they do all tend to break whenever you upgrade orbeon forms (mostly because the Selenium IDE tends to use xpath or ID's to identify elements and any small change to the output of the html produced by orbeon forms tends to quickly break these identifiers). Hope this helps. Chris. Florent Georges wrote: > "Richard C. Hidalgo Lorite" wrote: > >> On Tue, 23 Sep 2008 10:23:41 -0400 ilango wrote: > >>> I have a requirement to conduct unit testing and integration >>> testing of my XForms. How can this done. What can be the >>> approaches to this? > >> good question! I'm very interested in any answer to this...... > > So do I! (I don't want to make noise on the list, but I think this > is a really, really important question and I don't know anything > obvious in Orbeon) > > Regards, > > --drkm > > > > > > > > > > > > > > > > > > > > > > > > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Yes, it does help me understand a question I had a while ago, thank you,
-- einar On Tue, Sep 23, 2008 at 5:56 PM, Chris Bailey <[hidden email]> wrote: > You can use the Selenium IDE (http://selenium-ide.openqa.org/) to create > functional (end-user) tests. > > Due to the heavy use of JS in the pages, I'm not sure if there is any other > framework that you can use for functional testing - however with the > noscript command you could maybe use another form of functional framework > (like zope.testbrowser which doesn't support javascript) > > Not sure about unit tests. While you can write unit tests for the Orbeon > Forms code itself, it is very difficult to write any form of unit test for > developers using Xforms (as nearly every aspect of the Xforms application > will be relying on the Xforms engine - this means you end up writing > integration tests instead). If you wanted to test specific javascript code > in isolation, you can use a framework such as JsUnit > (http://www.jsunit.net/) > > I've written several Selenium tests before for my xforms application, > however they do all tend to break whenever you upgrade orbeon forms (mostly > because the Selenium IDE tends to use xpath or ID's to identify elements and > any small change to the output of the html produced by orbeon forms tends to > quickly break these identifiers). > > Hope this helps. > > Chris. > > Florent Georges wrote: >> >> "Richard C. Hidalgo Lorite" wrote: >> >>> On Tue, 23 Sep 2008 10:23:41 -0400 ilango wrote: >> >>>> I have a requirement to conduct unit testing and integration >>>> testing of my XForms. How can this done. What can be the >>>> approaches to this? >> >>> good question! I'm very interested in any answer to this...... >> >> So do I! (I don't want to make noise on the list, but I think this >> is a really, really important question and I don't know anything >> obvious in Orbeon) >> >> Regards, >> >> --drkm >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- -- Einar Moos -- parisiana.com Tel: 0676660080 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by richhl
Thanks to everybody for their kind replies.
On Tue, Sep 23, 2008 at 10:42 AM, Richard C. Hidalgo Lorite <[hidden email]> wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |