Hi,
my environment:
Junit 4.0
Ant 1.7
Eclipse 3.3
Java 1.5
I am trying to run a JUnit
test with Eclipse 3.3 (Europa) but I have a small compilation problem:
==>
The method assertEquals(int, int) is undefined for the type PersonTest and
The method assertTrue(boolean) is undefined for the type PersonTest If I import junit.framework.TestCase and extend TestCase :
then it compiles but then I am not using JUnit 4.
And anyways the test fails because it complains that it does not find test methods ...
Is there a compatibility problem in the versions I use ?
(with ant, eclipse, junit ...)
Thanks in advance for your help.