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:
- unit tests working well
- 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
Post a Comment