Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How does surefire work  RSS feed

 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

We use surefire plug-in in maven. I wonder how it works. Its a wrapper over junit and testng frameworks. It starts these test frameworks and runs test cases. How does it do that?

In my project, I wrote a testng test class. It recognized its a testng test case and ran that automatically.
Can anyone point me to the source code for surefire plugin also.

If I have both Junit and testng test class , what will happen?
 
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Praveen, have you gone to the Maven page for the plugin? You'll find a majority of your answers there.
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!