Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » junit.framework.AssertionFailed error not yet implemented
junit.framework.AssertionFailed error not yet implemented [message #171049] Thu, 14 September 2006 21:18 Go to next message
Ted Kubaska is currently offline Ted KubaskaFriend
Messages: 9
Registered: July 2009
Junior Member
I'm trying to run a Junit example and get the error:
junit.framework.AssertionFailed error not yet implemented.

This example used to work with Eclipse 3.1 and now does not with Eclipse
3.2. I didn't copy the example but tried to reenter it. This is the example
from Bill Dudney's boo Eclipse 3 LIve, a dated book but very good in its
time. I tried both Junit 3.8.1 and Junit 4.

The test runs and then I get failures with the above message. The code being
tested is the Money example that came in the Junit download.

Help is appreciated. This is a simple thing but I'm stuck...
-Ted
Re: junit.framework.AssertionFailed error not yet implemented [message #171069 is a reply to message #171049] Thu, 14 September 2006 22:55 Go to previous message
Ted Kubaska is currently offline Ted KubaskaFriend
Messages: 9
Registered: July 2009
Junior Member
Well, it's a good thing this is a beginners group. What I discovered by
looking at the generated junit code is that with Eclipise 3.2, the tests
have a fail method, which I don't think existed with 3.1 (or maybe it did
and I dont remember deleting them). Anyway if I delete the fail method I
don't get the "not implemented" message.
-Ted

"Ted Kubaska" <tkubaska@ieee.org> wrote in message
news:eecguv$rpe$1@utils.eclipse.org...
> I'm trying to run a Junit example and get the error:
> junit.framework.AssertionFailed error not yet implemented.
>
> This example used to work with Eclipse 3.1 and now does not with Eclipse
> 3.2. I didn't copy the example but tried to reenter it. This is the
> example from Bill Dudney's boo Eclipse 3 LIve, a dated book but very good
> in its time. I tried both Junit 3.8.1 and Junit 4.
>
> The test runs and then I get failures with the above message. The code
> being tested is the Money example that came in the Junit download.
>
> Help is appreciated. This is a simple thing but I'm stuck...
> -Ted
>
Previous Topic:Set the currency format
Next Topic:Command Used by Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 09:27:40 GMT 2024

Powered by FUDForum. Page generated in 0.07673 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top