blond / mocha-simple-html-reporter Goto Github PK
View Code? Open in Web Editor NEWSimple HTML reporter for Mocha
License: MIT License
Simple HTML reporter for Mocha
License: MIT License
Hi. I just started to use your reporter for testing our backend API's. I use mocha's it
to put tested URL so failed API's can be investigated in detail. Is there any chance to detect URL's in output and make them clickable?
<li class="suite"><h1>v1.0 of API: metars in 5/50.261/-55.4589/15.919073517982426/-120.36621093749999</h1><ul><li class="test pass fast"><h2>http://127.0.0.1:8040/node/metars/5/50.261/-55.4589/15.919073517982426/-120.36621093749999<span class="duration">26ms</span></h2><pre><code>async function () {
let body = await c.get2.call(this,{ url, json })
assert( body instanceof Object, 'No object returned' )
assert( Object.keys( body ).length > 0, `No ${ items } in given bounds` )
log.call(this,`Returned ${ Object.keys( body ).length } ${ items }`)
}</code></pre></li></ul></li>
We have forked this repo and we are doing some progress on it:
https://github.com/windycom/mocha-simple-html-reporter
https://www.npmjs.com/package/mocha-simple-html-reporter-linked
Would be nice to have date/time when test occurred as a part of HTML document
Can the report contain only failure cases ? Is there a flag to pass?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.