zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andor Molnar <an...@cloudera.com.INVALID>
Subject Re: maven command to run a specific test in a test case.
Date Fri, 20 Sep 2019 21:10:45 GMT
Even better to do a quick google search:

https://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html

mvn -Dtest=TestCircle#mytest test

Andor

On Fri, Sep 20, 2019 at 11:08 PM Andor Molnar <andor@cloudera.com> wrote:

> I usually use:
>
> mvn verify -Dtest=bar
>
> Which runs the entire testcase. Not sure about how to run single test
> method.
>
> Andor
>
>
>
> On Fri, Sep 20, 2019 at 11:05 PM Michael Han <hanm@apache.org> wrote:
>
>> In ant, we can execute a single test "foo" in a test case "bar" like this:
>>
>> *ant -Dtestcase=bar -Dtest.method=foo*
>>
>> What's the corresponding maven command?
>>
>> Cheers
>> Michael.
>>
>

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