ismailia

0.9.0 • Public • Published

ismailia

Ismailia is a code coverage tool for ES6 using the Traceur transpiler.

It's intention is to be used with karma and karma-coverage, which provides code coverage reports using istanbul.

Installation

For the moment, a custom fork of karma-coverage needs to be installed which supports ismailia is an instrumenter.

$ npm install --save-dev Spote/karma-coverage

Ismailia can be installed using

$ npm install --save-dev ismailia

Usage

To use ismailia, set the instrumenter for the JavaScript file type to ismailia.

coverageReporter: {
    instrumenter: {
        '**/*.js': 'ismailia'
    }
}

The scripts are compiled as RequiredJS modules. See the example directory for an example on how to setup tests. The example utilises the karma-traceur-preprocessor to compile the tests.

License

Copyright 2014 Jack Wakefield

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Package Sidebar

Install

npm i ismailia

Weekly Downloads

2

Version

0.9.0

License

none

Last publish

Collaborators

  • jackwakefield