File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes How does surefire work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "How does surefire work" Watch "How does surefire work" New topic

How does surefire work

Praveen Seluka
Ranch Hand

Joined: Jul 17, 2007
Posts: 95
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?
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

Hi Praveen, have you gone to the Maven page for the plugin? You'll find a majority of your answers there.

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
I agree. Here's the link:
subject: How does surefire work
It's not a secret anymore!