Android connectedAndroidTest:未发现任何测试
Just Create a function on click: ( in angular)
<button ng-click="openOne()"></button>
<button ng-click="openTwo()"></button>
$scope.openOne= funtion(){
$("#yourModal1Name").modal('show');
}
$scope.openTwo= funtion(){
$("#yourModal2Name").modal('show');
}
测试类:
gradle :aar-lib:connectedAndroidTest
com.android.builder.testing.ConnectedDevice > No tests found.
FAILED No tests found. This usually means that your test classes
are not in the form that your test runner expects (e.g. don't
inherit from TestCase or lack @Test annotations).
看着测试APK,它包含测试类。