Hi Marco

any particular reason why you can't run test from your src\test directory,
since all your mainapp classes will be in the classpath ?

The expected results of these ad-hoc tests are not formally defined. Since the application is a command-line application, I would like to be able to test the application from the command-line, instead of writing a JUnit test living in src/test. Being able to quickly run the application from the command-line helps me to rapidly try out different parameters.
But you are right, I could also wrap all my command-line test in a JUnit 
testcase and call my main class appropriately.

do you need to have your app installed for testing purposes?

As mentioned above, this would facilitate ad-hoc testing.

Best regards,
Christian

--
Christian Plessl <[EMAIL PROTECTED]> http://plesslweb.ch


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

Reply via email to