You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/20 21:04:41 UTC
[jira] [Resolved] (CB-413) Node based tests are useless in Windows
[ https://issues.apache.org/jira/browse/CB-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj resolved CB-413.
--------------------------
Resolution: Fixed
Fixed in [acb911|http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=acb911a3cae28dca380ba29621d2fa9a3c991d7e].
Had to dive into the issues list for jsdom and contextify, but figured it out. Updated the README and package.json files to allow for this. Basically:
* Make sure you are running npm version 1.1.10 at the least (if you run with node v0.6.15 you should be fine).
* Make sure you have Python 2.7.x installed on your Windows machine.
* Make sure you have Visual C++ 2010 Express installed (and _not_ the Redistributable - the actual IDE).
Then when you run {{npm install}} it will go through the motions to build contextify for Windows. Works fine on my end now!
> Node based tests are useless in Windows
> ---------------------------------------
>
> Key: CB-413
> URL: https://issues.apache.org/jira/browse/CB-413
> Project: Apache Callback
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: 1.5.0
> Environment: Windows
> Reporter: Jesse MacFadyen
> Assignee: Filip Maj
> Labels: PITA
> Fix For: 1.7.0
>
>
> The node based tests depend on Contextify which is not avaiable for windows.
> As a result, I currently have to manually step through code, add console.logs, and alerts, and other less than optimal methods for verifying the correctness of the output code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira