cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: weird issue when run single test in cxf
Date Fri, 17 Dec 2010 08:14:04 GMT
Hi Freeman,

Maybe you need to use mvn clean first like this

mvn clean test -Dtest=TestClassName

On 12/17/10 4:07 PM, Freeman Fang wrote:
> Hi,
>
> Today I experience a wired problem when I try to run a single test with
> what I always do like
> mvn test -Dtest=TestClassName
>
> But I just get error like, even though the test is actually there, did
> anyone else also encounter this problem?
> Yesterday everything is ok
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] No tests were executed! (Set -DfailIfNoTests=false to ignore this
> error.)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
>
>
> Thanks
> Freeman
>
>
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Mime
View raw message