trevjonez / composer-gradle-plugin

Gradle task type and plugin for interacting with https://github.com/gojuno/composer
Apache License 2.0
53 stars 18 forks source link

How to specify tests size? #12

Closed juliocbcotta closed 6 years ago

juliocbcotta commented 6 years ago

Hi, is it possible to have gradle tasks for tests size? Like... with spoon we can spoonDebugAndroidTestSmall so it runs just the tests annotates with @SmallTest

trevjonez commented 6 years ago

based on the android InstrumentationTestRunner docs it should be something like the following:

instrumentationArgument('size', 'small')

using that in the correct location should give you what you need.