This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Testing and the fly likes Httpunit Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Httpunit Problem" Watch "Httpunit Problem" New topic

Httpunit Problem

Rohan Deshmkh
Ranch Hand

Joined: Aug 31, 2012
Posts: 127
I tried to install Httpunit and i think i have installed it correctly because when i run following code it shows Runs:1/1 errorrs:0 with a green color strip.

Now but when i run following code ,it still shows Runs:1/1 and errors=0 but it gives warning junit.framework.AssertionFailedError: No tests found in FirstScript
at junit.framework.TestSuite$1.runTest(
at junit.framework.TestCase.runBare(
at junit.framework.TestResult$1.protect(
at junit.framework.TestResult.runProtected(
at junit.framework.TestSuite.runTest(
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(

What i am doing wrong here?
I agree. Here's the link:
subject: Httpunit Problem
It's not a secret anymore!