npm

Need private packages and team management tools?Check out npm Orgs. »

jasmine-favicon-reporter

1.0.0 • Public • Published

Jasmine Favicon Reporter

Jasmine reporter that shows count of RED tests in favicon.

Tests and demo available here

How to use

Include favico.js and the reporter prior to boot.js

<!-- SpecRuner.html -->
<script type="text/javascript" src="vendor/favico.js"></script>
<script type="text/javascript" src="jasmine-favicon-reporter.js"></script>
<script type="text/javascript" src="vendor/jasmine-2.0.0-rc2/boot.js"></script>

and specify to use it in boot.js

// vendor/jasmine/boot.js
env.addReporter(new JasmineFaviconReporter());

That's it.

Author: Alexander Kaupanin

install

npm i jasmine-favicon-reporter

Downloadsweekly downloads

6

version

1.0.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability