You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Brian Burch <br...@PingToo.com> on 2014/01/18 19:11:31 UTC

Re: Failing tests on ReferenceManagerTest

On 18/01/14 16:32, Craig L Russell wrote:
>
> On Jan 18, 2014, at 3:31 AM, Brian Burch wrote:
>
>> On 18/01/14 10:32, Harry Metske wrote:
>>> Brian,
>>>
>>> there is a small mvn cheatsheet in the root of the project (I ask myself
>>> this same question too every time) :
>>> http://svn.apache.org/viewvc/jspwiki/trunk/mvn_cheat-sheet.txt?view=markup
>>>
>>> So this would be the mvn equivalent:   mvn test
>>> -Dtest=org.apache.wiki.ReferenceManagerTest
>
> In my experience, there's no need to qualify the name of the test. Maven does a match on the name given, regardless of its fully qualified name. So the above should be -Dtest=ReferenceManagerTest and should work whatever the current directory.

Yes, that works. Thanks for the tip!

I guess you would only need to use the fully-qualified package name in 
situations where the unqualified class name is ambiguous.

Brian

> Regards,
>
> Craig

<snip>
>
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@oracle.com
> P.S. A good JDO? O, Gasp!
>