0.1.2 • Published 8 years ago

karma-ievms-launcher v0.1.2

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

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 start
INFO [karma]: Karma v0.9.3 server started at http://localhost:9876/
INFO [launcher]: Starting browser IE10 - Win7
INFO [launcher]: Starting browser MSEdge - Win10
INFO [IE 10.0.0 (Windows 7)]: Connected on socket id QMtH-ssLaEC-4Ad-HQcx
INFO [Edge 12.10240.0 (Windows 10 0.0.0)]: Connected on socket id Qva0anolj13o15hqHQcz
IE 10.0.0 (Windows 7): Executed 1 of 1 SUCCESS (0.155 secs / 0.022 secs)
Edge 12.10240.0 (Windows 10 0.0.0): Executed 1 of 1 SUCCESS (0.046 secs / 0 secs)
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

Original code from niksy and xdissent