This plugin attempts to establish a defacto standard for Apache Cordova plugin testing.
The org.apache.cordova.test-harness
plugin does two things:
Change the start page of you application, but adding this to your config.xml
:
<content src="cdvtests/index.html" />
Now, when you run your app, you will start the test harness instead of your application. At any point, switch back to application development by removing that line from your config.xml
.