You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Correct. This plugin use case is putting tests into the app module under `src/androidTest/. What you can do is configuring spoon task on your own in your test module: add the plugin artifact to the build script classpath (but do not apply it) and then do something like
Hi Roman. I'm in a similar position as patrick. I have an Android library project that has about 5 different modules in it, each with their own set of unit tests. I would love to use spoon as it let's me use multiple devices and is great for granting runtime permissions for the tests.
This would be a great feature to have! But for now, I'm looking at the sample code you provided above. I'm pretty new with gradle, so I was hoping you could expand upon your sample code and maybe explain how I could get something working. For example: Not sure what you mean by "adding plugin artifact to the buildscript classpath (but do not apply it)." Also would I add that task to each of my module level build.gradle files? Or top level? My project doesn't use flavors or variants.
Sorry I'm a gradle noob, but I would love to get Spoon working so any help is appreciated!
I am trying to include Spoon in an Android test module (https://developer.android.com/tools/studio/studio-features.html#test-module), but it looks like that plugin type is not supported yet (https://github.com/stanfy/spoon-gradle-plugin/blob/master/src/main/groovy/com/stanfy/spoon/gradle/SpoonPlugin.groovy#L23).
The text was updated successfully, but these errors were encountered: