How to test custom cordova plugin's native code?
问题 I know cordova-plugin-test-framework will help in testing any cordova project. I am developing a custom camera cordova plugin for Android platform. I would like to write some Junit/Instrumentation test cases for my custom camera Android plugin code. I am facing issues as I can't create CordovaInterface , CordovaWebView Objects from my test class. Is there anyway that I can create CordovaInterface , CordovaWebView Objects from my test class and pass these as parameters for my custom camera