forked from karma-runner/karma
-
Notifications
You must be signed in to change notification settings - Fork 0
Cloud9 ide
hmalphettes edited this page Jan 16, 2013
·
3 revisions
Cloud9 IDE is an open source web-based cloud integrated development environment that supports several programming languages, with a focus on the web stack (specifically JavaScript and NodeJS). It is written almost entirely in JavaScript, and uses NodeJS on the back-end.
There are 2 possibilities in order to run unit tests with testacular in Cloud9 IDE:
###Capture the browser manually on the local machine: Call http://[projectName].[cloud9User].c9.io/ in your browser.
###Run testacular unit tests with PhantomJS in cloud9 IDE:
- PhantomJS must be installed with "npm install phantomjs".
- The host must be configurable (requested in pull request https://github.com/vojtajina/testacular/pull/276).
- The testacular.conf.js file (tried it out for the AngularJS foodme app) must include the following entries:
browsers = ['PhantomJS']; hostname = process.env.IP; port = process.env.PORT; runnerPort = 0;