Or just a regular build without parameters, "mvn clean install", will run
all unit and mock tests

On Sep 20, 2017 5:17 AM, "Andrew Gaul" <g...@apache.org> wrote:

> You can run a mock test class via:
>
> mvn test -pl :b2 -Dtest=ObjectApiMockTest.java
>
> You can run a single test within a mock test class via:
>
> mvn test -pl :b2 -Dtest=ObjectApiMockTest.java#testUploadFile
>
> On Tue, Sep 19, 2017 at 08:32:09PM +0000, Julio Colon wrote:
> > I see some projects with live and mock unit tests...  Is there a sample
> maven command to execute the mock ones?
>
> --
> Andrew Gaul
> http://gaul.org/
>

Reply via email to