incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anis KADRI <>
Subject Re: Update on CordovaView/CordovaActivity Testing
Date Fri, 13 Jan 2012 23:58:06 GMT
I don't have any experience with WebDriver but I +1 the idea of
unit/functional testing Cordova :-D.

On Fri, Jan 13, 2012 at 3:36 PM, Joe Bowser <> wrote:
> Hey
> Here's how you can run the tests from the command line:
> adb shell am instrument -w
> com.phonegap/android.test.InstrumentationTestRunner
> This will allow you to run the current tests without having to use Eclipse.
>  We can script and automate this now, and get the tests here running.  If I
> can somehow get WebDriver with a functional view, we can also start
> functional testing of Cordova. Does anyone have any experience with getting
> WebDriver going?
> Joe
> On Fri, Jan 13, 2012 at 1:50 PM, Joe Bowser <> wrote:
>> Hey
>> I bit the bullet and I added the tests and the test activities to the main
>> Cordova-Android project.  You still need eclipse to run the tests for now,
>> but they should be right here:
>> Ideally we want to figure out how to get this to run without Eclipse, and
>> it should be possible to do so.  I added a test to test the backHistory
>> which I broke as well. We should be able to do more TDD with Cordova.  To
>> get this running, you just have to load this in Eclipse, and just run it as
>> a JUnit project.
>> The tests are in com.phonegap.test and the test case activities are in
>> com.phonegap.test.activities.  I'm thinking of removing StandAlone now that
>> we have the test activities since it's no longer needed.  Please take a
>> look at this and let me know if you have any questions/issues.
>> Joe

View raw message