Re: Junit 4.2 version
"David Saff" <[email protected]>
| Newsgroups | gmane.comp.java.junit.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, pari. JUnitCore.main() does indeed exit. You probably want JUnitCore.runClasses. Good luck, David Saff On 3/2/07, pari krishnan <[email protected]> wrote: > Hi David, > > > I am using Junit4.2 version for running my testcase.As far as i know the > suite method is not required anymore if our testcase written in 4.2 version > and run the testcase using Junit4.2 version. > > can use main method to load the our test case. > public static void main(String args[]) > { > org.junit.runner.JUnitCore.main(Sample); > System.out.println("Finish the testing"); > } > when I run the above code ,I am not getting the the message which i have > given in println. > Are u using any exit command to exit the JVM. > > > Regards, > Pari > > > > ________________________________ > Here's a new way to find what you're looking for - Yahoo! Answers > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Junit-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/junit-devel > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV