You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kibo <to...@gmail.com> on 2008/05/14 19:53:07 UTC

Struts2 JUnit 4.x

Hi konference

I saw that struts2-archetype-starter for Maven use JUnit 3.8 dependency.
Why Struts2 already does not use JUnit 4.x ?

Does it some problem when i will use JUnit 4.x in Struts 2 apps?

Thanks very much.

-----
Tomas Jurman
Czech Republic
-- 
View this message in context: http://www.nabble.com/Struts2-JUnit-4.x-tp17237177p17237177.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts2 JUnit 4.x

Posted by Laurie Harper <la...@holoweb.net>.
Kibo wrote:
> Hi konference
> 
> I saw that struts2-archetype-starter for Maven use JUnit 3.8 dependency.
> Why Struts2 already does not use JUnit 4.x ?

Probably the archetype has its origins before JUnit 4.x came out. Feel 
free to submit a patch to update the archetype ;-)

> Does it some problem when i will use JUnit 4.x in Struts 2 apps?

No, Struts itself has no dependency on JUnit, it's only included in the 
archetype-generated project to encourage you to write tests :-) The only 
thing possibly affected by upgrading to JUnit 4.x is your own unit tests.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org