1.0.0 • Published 6 years ago

jasmine-favicon-reporter v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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