Re: [Xsltforms-support] Native XForms unit test tool
Brought to you by:
alain-couthures
From: Eric v. d. V. <vd...@dy...> - 2013-08-22 07:14:48
|
Hi Steven, Le jeudi 22 août 2013 à 16:54 +1000, Stephen Cameron a écrit : > Hi Eric, > > > Interesting subject, I won't go into details now but to me it raises > some important questions. > > > XForms is an interoperable forms standard, that different > implementations behave differently is therefore a bit disturbing! Yes, indeed! > > That leads on to the question, at what level should we test? The > argument we made about XForms being data-driven programming at > Balisage seems to indicate to me that such automated testing isn't > likely to give great benefits, as it would for imperative coding. If > the engine passes the test suite of the Xforms standard then that > should be enough testing. Interesting question... What I have in mind is a tool to test that the XForms you've written is doing what you're trying to achieve rather than a tool to test that an implementation is following the recommendation. And I think that such a tool is needed because some forms are really complex: declarative or not, you can write buggy forms and IMO they deserve to be tested. In particular, complex XPath expressions that may appear in MIPs are good candidates for such tests. Speaking of level to test, XForms being MVC we may want to test the three levels (model, view and controller) and your remark makes me wonder if we shouldn't separate these three. > Thanks, Eric > I'll think more about this when my mind is clearer > > > Regard, > > Steve Cameron > > > > > > On Wed, Aug 21, 2013 at 6:52 PM, Eric van der Vlist <vd...@dy...> > wrote: > Hi, > > I've been thinking of such a tool for a while and I have just > posted my > some of my thoughts on my blog: > http://eric.van-der-vlist.com/blog/2013/08/20/xforms-unit/ > > If you find the idea interesting you can help by giving some > feedback, > especially (but not only) to suggest better ways to achieve > what I am > trying to do with XSLTForms: as a Orbeon Forms user I have > found that a > lot of things I was taking for granted just do not work with > other > implementations and I need to find alternative constructs for > most of > the idiomatic ways of getting things done with Orbeon... > > Thanks, > > Eric > > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge > and > AppDynamics. Performance Central is your source for news, > insights, > analysis and resources for efficient Application Performance > Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > |