maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laird Nelson <ljnel...@gmail.com>
Subject Re: Surefire unable to find "bar" test method when passed -Dtest=Foo#bar
Date Tue, 01 May 2012 16:37:34 GMT
On Tue, May 1, 2012 at 12:36 PM, Laird Nelson <ljnelson@gmail.com> wrote:

> mvn clean install -fae -Pminlog -Dtest='TestCaseFoo#testBar'
>

I also tried -Dtest='TestCaseFoo#testB*' which failed with the same error,
so that told me that it was indeed able to find the name of the test
method, as the error message indicates "testBar".

Best,
Laird

-- 
http://about.me/lairdnelson

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message