Setup: I have taken care of the following:
1) I have Java path setup correctly and I have junit installed and I am able to
run the swingui.TestRunner and I executed several sample tests comes with
junit tool. "Green bar" no problem.
I am trying to do the following:
2) I trying to run the following code which give me error and i don't know why:
Trying to run : C:\junitbook\jumpstart> java -cp .;..\..\junit3.8.1\junit.jar junit.swingui.TestRunner TestCalculator (Hit -Enter)
Action Happens: When I hit enter it launches Juit Swing Test Runner which has
"Red" line and have following error message:
Under Result Window:
Warning(junit.framework.TestSuite$1) No tests found in TestCalculator
junit.framework.AssertionFailedError: No tests found in TestCalculator
Please Note: I have TestCalculator.class available under c:\junitbook\jumpstart folder.
*"This is the first time I ran a junit test".
Please let me know what i am doing wrong and if there is a better way to resolve this
issue.
Thanks;
Sal
Robert Wenner <[EMAIL PROTECTED]> wrote:
> Please help me with the best process to setup Junit and start writing
> test cases.
What problems did you encounter which where not covered in the
documentation that ships with JUnit?
Robert
--
+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl
Yahoo! Groups SponsorADVERTISEMENT
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/junit/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/junit/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
