Code Monkey home page Code Monkey logo

karma-ievms's Introduction

karma-ievms

Karma launcher for ievms virtual machines.

NPM version

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:

module.exports = (config) ->
  config.set

    # Start these browsers:
    browsers = [
      'IE8 - WinXP'
      'IE9 - Win7'
      'IE10 - Win7'
    ]

    # ...

Usage

Just run your tests!

$ karma start
INFO [karma]: Karma v0.9.3 server started at http://localhost:9876/
INFO [launcher]: Starting browser IE8 - WinXP
INFO [launcher]: Starting browser IE9 - Win7
INFO [launcher]: Starting browser IE10 - Win7
INFO [IE 10.0.0 (Windows 7)]: Connected on socket id QMtH-ssLaEC-4Ad-HQcx
INFO [IE 8.0.0 (Windows XP)]: Connected on socket id 7cU0uMkf_0LKybq0HQcy
INFO [IE 9.0.0 (Windows 7)]: Connected on socket id Qva0anolj13o15hqHQcz
IE 10.0.0 (Windows 7): Executed 1 of 1 SUCCESS (0.155 secs / 0.022 secs)
IE 8.0.0 (Windows XP): Executed 1 of 1 SUCCESS (0.219 secs / 0.063 secs)
IE 9.0.0 (Windows 7): Executed 1 of 1 SUCCESS (0.369 secs / 0.028 secs)
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

karma-ievms's People

Contributors

xdissent avatar

Watchers

James Cloos avatar Mark Feimer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.