Skip to content

Sabartius/ismailia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A code coverage tool for ES6 (Traceur)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 75.3%
  • JavaScript 24.7%