commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <>
Subject RE: [jelly] http and validation tag libraries
Date Sat, 29 Jun 2002 18:04:01 GMT

> -----Original Message-----
> From: []
> Sent: 29 June 2002 09:39
> To:
> Subject: [jelly] http and validation tag libraries
> I've been looking at how Latka could leverage Jelly's infrastructure,
> it boils down to a few things:
> - a http tag library covering latka's existing tags
> - a 'validation' tag library for validating results/jelly variables
> - a junit bridge to make jelly scripts runnable as unit tests.

Wrapping a Jelly script around a JUnit TestCase so that it can be run by
any TestRunner would be real nice .. ! However, I think that will break
the JUnit model a bit because you'll end up having only one testXXX()
method (in the bridge) and all your test cases will be in jelly script.

Ideally we would need a way to have as many testXXX() methods as there
are test cases in our jelly scripts ... but how ?

Let's say you have an XML script describing your test cases like the
following :

  <test name="xxx">
  <test name="yyy">

We would need the ability to generate a TestCase class with testXxx()
and testYyy() methods ... but that's not very easy to do (thinking aloud

We could have a specific TestRunner but then we loose the ability to run
our tests in any existing TestRunner, including all JUnit integrations
in IDEs.


> For the jelliers out there, how does this sound?
> --
> dIon Gillard, Multitask Consulting
> Work:
> Developers:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message