On 6/9/07, Session Mwamufiya <[EMAIL PROTECTED]> wrote:

 I currently build my java files with a .bat files that simply
calls on javac and places the class files where I want them.

That's the info I was looking for. :)

Are you already able to compile the test?  (That will tell me you've
already downloaded JUnit and put it on the classpath, because the test
says 'import junit.framework.TestCase;')

To run the test from the command line (or batch file) take a look at
this JUnit FAQ:  http://junit.sourceforge.net/doc/faq/faq.htm#tests_1

I've never done this, but (with the appropriate things on the classpath,) try:

  java org.junit.runner.JUnitCore tutorial.HelloWorldTest

I would prefer to keep things as simple as this, because trying to understand
Maven would be adding yet another layer of complexity.

Agreed.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to