karma-ievms-launcher
This Karma plugin adds browser launchers for ievms virtual machines. This allows for testing across multiple versions of Internet Explorer simultaneously.
Karma launcher for ievms virtual machines.
Requirements
You must have installed whichever IE virtual machines you wish to use with ievms.
Installation
Install the plugin from npm:
$ npm install karma-ievms-launcher --save-dev
Install the ievms virtual machines on which you wish to test. See the ievms homepage.
Add ievms virtual machine names to the browsers
key in your Karma
configuration:
browsers: 'IE10 - Win7' 'MSEdge - Win10'
Usage
Just run your tests!
$ karma startINFO [karma]: Karma v0.9.3 server started at http://localhost:9876/INFO [launcher]: Starting browser IE10 - Win7INFO [launcher]: Starting browser MSEdge - Win10INFO [IE 10.0.0 ]: Connected on socket id QMtH-ssLaEC-4Ad-HQcxINFO [Edge 12.10240.0 ]: Connected on socket id Qva0anolj13o15hqHQczIE 10.0.0 : Executed 1 of 1 SUCCESS Edge 12.10240.0 : Executed 1 of 1 SUCCESS TOTAL: 2 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