You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Gord (JIRA)" <ji...@apache.org> on 2012/10/09 23:28:02 UTC

[jira] [Resolved] (CB-1596) Provide a way to test platform specific code in cordova.js

     [ https://issues.apache.org/jira/browse/CB-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gord resolved CB-1596.
----------------------

       Resolution: Fixed
    Fix Version/s: Master

Fixed with:

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=e4561c438ae29795e0626a0559896ed2ea5a2033
                
> Provide a way to test platform specific code in cordova.js
> ----------------------------------------------------------
>
>                 Key: CB-1596
>                 URL: https://issues.apache.org/jira/browse/CB-1596
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS
>         Environment: node
> browser test
>            Reporter: Gord
>            Assignee: Gord
>             Fix For: Master
>
>
> Currently when running 'jake test' can only test common modules.  
> There is a greater portion of code that is platform specific in cordova.js.
> We should provide a way to unit test that code as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Resolved] (CB-1596) Provide a way to test platform specific code in cordova.js

Posted by Gord Tanner <gt...@gmail.com>.
I expect to see some tests on those platform specific modules now everyone ;)

I am going to add in some for the various webworks modules that need
to be covered.

Idea is you should create a folder under test with your platform
specific tests, for example:
https://github.com/apache/incubator-cordova-js/blob/master/test/android/test.exec.js

On Tue, Oct 9, 2012 at 5:28 PM, Gord (JIRA) <ji...@apache.org> wrote:
>
>      [ https://issues.apache.org/jira/browse/CB-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Gord resolved CB-1596.
> ----------------------
>
>        Resolution: Fixed
>     Fix Version/s: Master
>
> Fixed with:
>
> https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=e4561c438ae29795e0626a0559896ed2ea5a2033
>
>> Provide a way to test platform specific code in cordova.js
>> ----------------------------------------------------------
>>
>>                 Key: CB-1596
>>                 URL: https://issues.apache.org/jira/browse/CB-1596
>>             Project: Apache Cordova
>>          Issue Type: Improvement
>>          Components: CordovaJS
>>         Environment: node
>> browser test
>>            Reporter: Gord
>>            Assignee: Gord
>>             Fix For: Master
>>
>>
>> Currently when running 'jake test' can only test common modules.
>> There is a greater portion of code that is platform specific in cordova.js.
>> We should provide a way to unit test that code as well.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira