Questions tagged [spoon-gradle-plugin]

Gradle plugin for Spoon

About

Gradle plugin for . Allows you to run spoon with almost no effort under new Android build system.

Links

Licence

Apache License, Version 2.0

7 questions
68
votes
1 answer

"unknown-sdk" device when executing tests in Jenkins

I have a strange situation with Jenkins when trying to run the tests. The configuration of the job clearly specifies to run the tests on this specific avd: "hudson_en-US_160_HVGA_android-18_armeabi-v7a", but for some odd reasons, during the build…
Andy Res
  • 15,963
  • 5
  • 60
  • 96
6
votes
0 answers

Android instrumented tests code coverage report that includes all app modules

I have an Android project with multiple library modules. At the application module I have some instrumentation tests that test the main functionalities of the app and I want to record the code coverage when running those tests. When running the…
2
votes
0 answers

Android testing via spoon not equal test counts

I am trying to use spoon for parallel running instrumental tests on all connected devicesю In my situation I have 3 connected devices at the same time now. I have about 96 tests at all. And for two devices I can see in test html spoon report that…
busylee
  • 2,540
  • 1
  • 16
  • 35
2
votes
1 answer

Logs are empty when using Spoon gradle with Robotium

I am using spoon gradle with robotium and cucumber and I can take the screenshots and see on the report, but the logs are completely empty. Am I missing something ? My Build.gradle: classpath('com.stanfy.spoon:spoon-gradle-plugin:1.0.3') { …
rafazzevedo
  • 390
  • 2
  • 12
0
votes
2 answers

Spoon: Empty adb logs in the report in Espresso tests

I am getting no logs in the report. I am running Espresso Instrumented tests on multiple devices via Spoon. I have tried with version 1.4, 1.5.1 and 1.5.2 as well. No luck :( java -jar spoon-runner-1.5.2-jar-with-dependencies.jar --apk…
0
votes
2 answers

Gradle Spoon: Plugin with id 'spoon' not found

Trying to use spoon framework with Android Studio gradle project but getting an error when trying to add spoon plugin : buildscript { repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath…
0
votes
1 answer

Android - How to define dependancy on a gradle task which is generated after taskGraph is created

UPDATE I could get hold of the task at the runtime. But I am not able to finalize another task. The code I used for is: gradle.taskGraph.whenReady {taskGraph -> if (taskGraph.hasTask(spoonFreeDebugAndroidTest)) { for(Task task :…
Rajkiran
  • 15,845
  • 24
  • 74
  • 114