You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Toda, Shingo" <Sh...@fast.au.fujitsu.com> on 2013/07/02 04:35:05 UTC
jake btest for cordova-js at Cordova 2.7.0
Hi there
I am using Cordova 2.7.0. I have two questions.
1.
I run cordova-js browser test by typing "jake btest" then I found the result depends on which browser I use.
The differences are
IE: Test result is not displayed at all
Firefox: Test runs but 6 failures
Chrome: Test runs and 0 failures
Command line test by "jake test" gets 0 failures so the result of Chrome should be fine but does anyone know if this is OK?
2.
Typing "jake btest" automatically open browser then the following error message is popup.
FireFox à Error: TypeError: v is undefined
Chrome à Error: TypeError: Cannot read property 'status' of undefined
How I can fix those error? And do they affect test result?
Message on FireFox
Messsage on Chrome
Regards,
Shingo Toda
Re: jake btest for cordova-js at Cordova 2.7.0
Posted by Andrew Grieve <ag...@chromium.org>.
Hi Shingo,
My take on this is that running the tests within a desktop browser (via
btest) is there to help debug the tests, but we'd only consider them
actually broken if they failed on "jake test". That said, it'd be great if
you figured out how to fix them!
Andrew
On Mon, Jul 1, 2013 at 10:35 PM, Toda, Shingo
<Sh...@fast.au.fujitsu.com>wrote:
> Hi there****
>
> ** **
>
> I am using Cordova 2.7.0. I have two questions. ****
>
> ** **
>
> 1.****
>
> I run cordova-js browser test by typing "jake btest" then I found the
> result depends on which browser I use.
> The differences are****
>
> IE: Test result is not displayed at all****
>
> Firefox: Test runs but 6 failures****
>
> Chrome: Test runs and 0 failures ****
>
> Command line test by "jake test" gets 0 failures so the result of Chrome
> should be fine but does anyone know if this is OK?****
>
> ** **
>
> ** **
>
> 2.****
>
> Typing “jake btest” automatically open browser then the following error
> message is popup.****
>
> ** **
>
> FireFox à Error: TypeError: v is undefined****
>
> Chrome à Error: TypeError: Cannot read property ‘status’ of undefined
> ****
>
> ** **
>
> How I can fix those error? And do they affect test result?****
>
> ** **
>
> Message on FireFox****
>
> ****
>
> ** **
>
> Messsage on Chrome****
>
> ****
>
> ** **
>
> Regards,****
>
> Shingo Toda****
>
> ** **
>