2009/3/13 Wes Wannemacher <w...@wantii.com>:
> On Thursday 12 March 2009 19:35:37 Musachy Barroso wrote:
>> Yeah, I have to find a better way to test those dumb URLs with weird
>> protocols. Is there a problem running with "pertest"?

> I don't see a problem with it, so long as we know why we're doing it. The key
> seems to be in the javadocs for URL, it states -

I've been thinking about setting forkMode to "pertest" and it can hide
some errors (like this with URLUtilTest). If someone will do the same
but with normal class (not with test), it will be discovered during
application runtime (at least), not during tests. The best option, I
suppose, is to set two kind of tests - which need forkMode to be set
"pertest" and which don't. I don't know if it's possible to do with
surefire plugin.


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to