0.0.1 • Published 3 years ago

karma-mocha-html-annotations-reporter v0.0.1

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
3 years ago

karma-mocha-html-annotations-reporter

A Karma+Mocha HTML reporter with HTML annotations.

karma-mocha-html-annotations-reporter is currently being written to develop workflow.

Since workflow has a lot of graphic algorithms which need to be covered by tests and whose purpose is hard to put into words or ascii art, this reporter provides an annotate function to add HTML to the test description and a reporter to render the result in Karma's server page.

How does it look like

Usage

  • add karma-mocha-html-annotations-reporter to your karma.conf.* reporters
  • when using typescript add: import {annotate} from "karma-mocha-html-annotations-reporter"
  • use the annotate function to add html annotations to your test report