opened
dmacosta
username_0
I need to make any change (e.g. new line, empty space, whatsoever) before running any specific test, otherwise execution doesn't start. Here's what I'm running:

`./gradlew spoonTestingTest -PspoonClassName=com.myapp.test.SomeTest`

Outputs:

First execution (tests running as expected):
```
...

:MyApp:preTestingTestBuild
:MyApp:prepareTestingTestDependencies
:MyApp:compileTestingTestAidl UP-TO-DATE
:MyApp:processTestingTestManifest UP-TO-DATE
:MyApp:compileTestingTestRenderscript UP-TO-DATE
:MyApp:generateTestingTestBuildConfig UP-TO-DATE
:MyApp:mergeTestingTestAssets UP-TO-DATE
:MyApp:generateTestingTestResValues UP-TO-DATE
:MyApp:generateTestingTestResources UP-TO-DATE
:MyApp:mergeTestingTestResources UP-TO-DATE
:MyApp:processTestingTestResources UP-TO-DATE
:MyApp:generateTestingTestSources UP-TO-DATE
:MyApp:compileTestingTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:MyApp:preDexTestingTest UP-TO-DATE
:MyApp:dexTestingTest
:MyApp:processTestingTestJavaRes UP-TO-DATE
:MyApp:packageTestingTest
:MyApp:assembleTestingTest
:MyApp:spoonTestingTest
2014-02-18 17:00:46 [SR.runTests] Executing instrumentation suite on 1 device(s).

BUILD SUCCESSFUL

Total time: 32.391 secs
```

On next execution (without making any changes):

```
:MyApp:preTestingTestBuild
:MyApp:prepareTestingTestDependencies
:MyApp:compileTestingTestAidl UP-TO-DATE
:MyApp:processTestingTestManifest UP-TO-DATE
:MyApp:compileTestingTestRenderscript UP-TO-DATE
:MyApp:generateTestingTestBuildConfig UP-TO-DATE
:MyApp:mergeTestingTestAssets UP-TO-DATE
:MyApp:generateTestingTestResValues UP-TO-DATE
:MyApp:generateTestingTestResources UP-TO-DATE
:MyApp:mergeTestingTestResources UP-TO-DATE
:MyApp:processTestingTestResources UP-TO-DATE
:MyApp:generateTestingTestSources UP-TO-DATE
:MyApp:compileTestingTestJava UP-TO-DATE
:MyApp:preDexTestingTest UP-TO-DATE
:MyApp:dexTestingTest UP-TO-DATE
:MyApp:processTestingTestJavaRes UP-TO-DATE
:MyApp:packageTestingTest UP-TO-DATE
:MyApp:assembleTestingTest UP-TO-DATE
:MyApp:spoonTestingTest UP-TO-DATE

BUILD SUCCESSFUL

Total time: 16.998 secs
```

Thanks!
Unable to rerun specific test without changes from gradlew
issue
created
jameswald
username_1
I just encountered the same behavior and was surprised because the Android plugin for Gradle always runs connectedCheck tasks. This makes sense because the entire state of external devices can't be known, and since there is no Android simulator, the device's state is practically guaranteed to be different every time the tests are executed. Perhaps the Spoon plugin should also treat connected tests as never UP-TO-DATE to match the Android plugin's behavior. On subsequent test runs these tasks are always executed:

```
[...] UP-TO-DATE
:app:connectedAndroidTest
:app:connectedCheck
```
comment
created
roman-mazur
username_2
It's a good point. I created #66.
comment
created
jameswald
username_1
Thanks @username_2!
comment
created
sivasu38
username_3
@username_2  . I am using the latest plugin, but still i am facing the same issue. :(
comment