yes 😞 , so now i cant do test anymore. in android studio 3.0 there issue between gradle plugin and realm need to wait the beta3 version for a fix. in the stable version weird error.
more weird his the output of the command :
~/StudioProjects/DBShopping$ ~/Android/Sdk/platform-tools/adb shell am instrument -w -r -e debug false -e class com.dbeginc.dbshopping.home.view.HomeViewImplTest com.dbeginc.dbshopping.test/android.support.test.runner.AndroidJUnitRunner
INSTRUMENTATION_RESULT: shortMsg=java.lang.ClassNotFoundException
INSTRUMENTATION_RESULT: longMsg=java.lang.ClassNotFoundException: Didn't find class "android.support.test.runner.AndroidJUnitRunner" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.dbeginc.dbshopping.test-1/base.apk", zip file "/data/app/com.dbeginc.dbshopping-1/base.apk"],nativeLibraryDirectories=[/data/app/com.dbeginc.dbshopping.test-1/lib/arm64, /data/app/com.dbeginc.dbshopping-1/lib/arm64, /data/app/com.dbeginc.dbshopping.test-1/base.apk!/lib/arm64-v8a, /data/app/com.dbeginc.dbshopping-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]
INSTRUMENTATION_CODE: 0