----- Original Message -----
From: "Jari Worsley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 6:30 PM
Subject: Re: [Cactus v2 - POLL] How to make IC and MO tests interchangeable
[snip]
> > > Premise 4, Solution 2a : raise an exception saying that the parameter
should
> > > have been defined in web.xml
>
> +1 - I like strict :) definitely throw an exception - after all, in
> this case, all the test writer needs to do is move the offending method
> call into the "beginXXX" method for the testcase.
>
I'm not sure we are speaking about the same thing ...
What solution 2a means is that be it a MO or IC test, the user will have to
define the init config in web.xml. In "standard" MO style, you are able to
define these init config in your testXXX() method using calls on a
MockContainer implementation, like MockContainer.setInitParameter("xx",
"yyy");
What we are saying with this option is that with Cactus MO style it won't be
possible, the user will have to use the web.xml to define these config data.
BTW, I still don't understand the issue about web.xml getting in the way ...
! It is not the production web.xml, it is only the test web.xml !
-Vincent