android - Cannot find InstrumentationTests with different testBuildType -


i defined different build type 'fake' in gradle file. specified configuration used tests using testbuildtype 'fake'. result following:

  1. unit tests working well
  2. instrumentation tests not work. instead i'm getting following error no tests found , output in console saying: started running tests test running failed: instrumentation run failed due 'process crashed.' empty test suite.

i didn't change folder structure tests. unit tests still in directory test, instrumentation tests in androidtest. switching build variant doesn't help.

if remote testbuildtype, instrumentation tests visible in case , using debug build type.

what can reason of issue?


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -