Hi Willem,

Thanks for your response, no luck, same error, I'm wondering only me encounter this issue?

Freeman
On 2010-12-17, at 下午4:14, Willem Jiang wrote:

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


--
Freeman Fang

------------------------

FuseSource: http://fusesource.com
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org

Reply via email to