karma-ievms
Karma launcher for ievms virtual machines.
This Karma plugin adds browser launchers for ievms virtual machines. This allows for testing across multiple versions of Internet Explorer simultaneously.
Requirements
You must have installed whichever IE virtual machines you wish to use with ievms or iectrl.
Installation
Install the plugin from npm:
$ npm install karma-ievms --save-dev
Or from Github:
$ npm install 'git+https://github.com/xdissent/karma-ievms.git' --save-dev
Install the ievms virtual machines on which you wish to test. See the ievms homepage or iectrl for further instructions.
Add ievms virtual machine names to the browsers
key in your Karma
configuration:
= configset # Start these browsers: browsers = 'IE8 - WinXP' 'IE9 - Win7' 'IE10 - Win7' # ...
Usage
Just run your tests!
$ karma startINFO [karma]: Karma v0.9.3 server started at http://localhost:9876/INFO [launcher]: Starting browser IE8 - WinXPINFO [launcher]: Starting browser IE9 - Win7INFO [launcher]: Starting browser IE10 - Win7INFO [IE 10.0.0 ]: Connected on socket id QMtH-ssLaEC-4Ad-HQcxINFO [IE 8.0.0 ]: Connected on socket id 7cU0uMkf_0LKybq0HQcyINFO [IE 9.0.0 ]: Connected on socket id Qva0anolj13o15hqHQczIE 10.0.0 : Executed 1 of 1 SUCCESS IE 8.0.0 : Executed 1 of 1 SUCCESS IE 9.0.0 : Executed 1 of 1 SUCCESS TOTAL: 3 SUCCESS
If you'd like to see the debug output from ievms/iectrl, set the DEBUG
environment variable to iectrl:*
:
$ export DEBUG='iectrl:*' # for bash
$ set -x DEBUG 'iectrl:*' # for fish