This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
What I did: 1. Download newest version from JUnit.org 2. Extract the zip file contents to desired location of JUnit files 3. Follow installation instructions provided in the README.html file Does this work for you? Are you having difficulties setting classpath (and/or path) properties?
Perhaps a peek at my path and classpath settings would help. When I use JUnit, I do so with a couple of batch files that adjust the path and classpath settings to work with JUnit. For compiling: junitc.bat ---------- h:\jdk1.3.1_02\bin\javac.exe -classpath "%classpath%;.;h:\junit\junit.jar" %1 For running tests: junit.bat --------- h:\jdk1.3.1_02\bin\java.exe -classpath "%classpath%;.;h:\junit\junit.jar" junit.swingui.TestRunner "$[FilePath]" %1 You got it working yet?
Hi Mike, Just read all messages on my post Junit -set classpath problem. Add to your classpath: set classpath=c:\jdk13.1\........;c:\junit3.7\junit.jar;c:\junit3.7 Open DOS Window, go to junit3.7 directory and type lines: java junit.textui.TestRunner junit.example.AllTests and the others.(You can find them in the README.html file, in the Junit3.7 directory, under Installation heading). Berko