Ok, that could be the problem as I think Lisa said she extends TestCase.
Lisa, please try removing that!

/A

justinedelson wrote:
> 
> I seem to recall a problem where if you tried to combine JUnit 3.x and 4.x
> styles (i.e. use annotation and extend TestCase), something like the below
> would happen. But I'm not sure that was a Maven problem.
>  
> Justin
> 
> ________________________________
> 
> From: Anders Hammar [mailto:and...@hammar.net]
> Sent: Wed 12/10/2008 6:31 AM
> To: users@maven.apache.org
> Subject: Re: Is Maven / JUnit 4.x broken (annotations)
> 
> 
> 
> 
> Hi,
> 
> Just tried it and it works for me, both in Eclipse and from command
> prompt.
> How are you executing?
> 
> /Anders
> 
> 
> CheapLisa wrote:
>>
>> I have JUnit 4.5 as a dependency in my maven pom
>> and I have imported annotations into my test case but
>> it is not recognizing the @Test and @Ignore annotations.
>>
>> I still have to preface the method name with "test"
>> and the @Ignore tests get executed.
>>
>> Is something broken?  What do I need to do to get this
>> to work like expected and to take advantage of JUnit 4.x
>> which has over a year of release now.
>>
>>
>> thanks
>>
>> Lisa
>>
> 
> --
> View this message in context:
> http://www.nabble.com/Is-Maven---JUnit-4.x-broken-%28annotations%29-tp20929389p20933525.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Is-Maven---JUnit-4.x-broken-%28annotations%29-tp20929389p20964774.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to