myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <wsm...@gmail.com>
Subject Re: Running unit tests under maven2?
Date Tue, 10 Jan 2006 02:15:16 GMT
On 1/9/06, Simon Kitching <skitching@obsidium.com> wrote:

> I'm trying to run tomahawk unit tests. In current/tomahawk/tomahawk I enter:
>    mvn test
>
> However the output indicates:
> [INFO] [surefire:test]
> [INFO] Tests are skipped.
>
> Any suggestions?

Try running with -Dmaven.test.skip=false

(or modify the pom that probably has something like <skip>true<skip>
in the <configuration> for the Surefire plugin.)

> I do see this earlier in the output:
> [WARNING]
>     Artifact junit:junit:jar:3.8.1 retains local scope 'test'
>     overriding broader scope 'compile' given by a dependency.
>     If this is not intended, modify or remove the local scope.
>
> I wouldn't think this is the cause, but then again...

I don't think so... I see it in every build (not just MyFaces) and
haven't yet had time to investigate.

--
Wendy

Mime
View raw message