wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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.Assert.fail(Assert.java:50)
at junit.framework.TestSuite$1.runTest(TestSuite.java:97)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

What i am doing wrong here?
I agree. Here's the link: http://aspose.com/file-tools
subject: Httpunit Problem
Similar Threads
Junit test: cannot find test Method although that it is already defined in the test class
Junit error
FaceBook API
how can I start with HtmlUnit
Exception when using setup() in a junit testcase