This is described in README. Try the following. It will force the test to
run when there is no code change.
./gradlew cleanTest test

Thanks,

Jun

On Sun, Sep 28, 2014 at 11:15 PM, Abhishek Sharma <abhi.ka...@gmail.com>
wrote:

> Hi,
>
> I have tried several times to run same unit test (AdminTest) singly by
> using command - /./gradlew -Dtest.single=AdminTest core:test/
>
> Only for the first time all the test methods of unit test were executed
> and later in subsequent runs no test method were executed. Is it a correct
> execution or did something strange execution happened ?
>
> In later subsequent runs it provided the output as -
>
> Building project 'core' with Scala version 2.10.1
> :clients:compileJava UP-TO-DATE
> :clients:processResources UP-TO-DATE
> :clients:classes UP-TO-DATE
> :clients:jar UP-TO-DATE
> :core:compileJava UP-TO-DATE
> :core:compileScala UP-TO-DATE
> :core:processResources UP-TO-DATE
> :core:classes UP-TO-DATE
> :core:compileTestJava UP-TO-DATE
> :core:compileTestScala UP-TO-DATE
> :core:processTestResources UP-TO-DATE
> :core:testClasses UP-TO-DATE
> :core:test UP-TO-DATE
>
> BUILD SUCCESSFUL
>
> *Please let me know over this.*
>
>
> Thanks
> Abhishek Sharma
>

Reply via email to