All Projects → blond → mocha-simple-html-reporter

blond / mocha-simple-html-reporter

Licence: MIT license
Simple HTML reporter for Mocha

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to mocha-simple-html-reporter

Kemal
Fast, Effective, Simple Web Framework
Stars: ✭ 3,227 (+20068.75%)
Mutual labels:  fast, simple
Maroto
A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
Stars: ✭ 334 (+1987.5%)
Mutual labels:  fast, simple
Begin Latex In Minutes
📜 Brief Intro to LaTeX for beginners that helps you use LaTeX with ease.
Stars: ✭ 3,082 (+19162.5%)
Mutual labels:  fast, simple
contentfully
A simple but performant REST client for Contentful.
Stars: ✭ 13 (-18.75%)
Mutual labels:  fast, simple
Derrick
🙌 Derrick is a clean minimal and fast theme for a personal blog.
Stars: ✭ 51 (+218.75%)
Mutual labels:  fast, simple
toro
Tree oriented routing
Stars: ✭ 116 (+625%)
Mutual labels:  fast, simple
vertx-start
简单地、快速地启动vert.x的手脚架,保留了vert.x原汁原味的开发方式
Stars: ✭ 102 (+537.5%)
Mutual labels:  fast, simple
base64.c
Base64 Library in C
Stars: ✭ 60 (+275%)
Mutual labels:  fast, simple
Server Manager
This repository holds the IntISP Interface. It can be rebuilt to interface with any other hosting panel.
Stars: ✭ 31 (+93.75%)
Mutual labels:  fast, simple
Try
Dead simple CLI tool to try Python packages - It's never been easier! 📦
Stars: ✭ 588 (+3575%)
Mutual labels:  fast, simple
logquacious
Logquacious (lq) is a fast and simple log viewer.
Stars: ✭ 55 (+243.75%)
Mutual labels:  fast, simple
Paris
Logger in Rust for pretty colors and text in the terminal. Aiming for a relatively simple API
Stars: ✭ 162 (+912.5%)
Mutual labels:  fast, simple
node-perj
A fast, flexible JSON logger.
Stars: ✭ 16 (+0%)
Mutual labels:  fast, simple
core
🌈 light, fast, and easy to use, dependencies free javascript syntax highlighter, with automatic language detection
Stars: ✭ 40 (+150%)
Mutual labels:  fast, simple
ByteCopy
Simple C99 program and API for copying files.
Stars: ✭ 16 (+0%)
Mutual labels:  fast, simple
Wondercms
WonderCMS - fast and small flat file CMS (5 files)
Stars: ✭ 330 (+1962.5%)
Mutual labels:  fast, simple
smk
SMK - Simple multimedia kit - C++ WebAssembly
Stars: ✭ 89 (+456.25%)
Mutual labels:  fast, simple
Wyhash
The FASTEST QUALITY hash function, random number generators (PRNG) and hash map.
Stars: ✭ 410 (+2462.5%)
Mutual labels:  fast, simple
Borm
【🔥今日热门】🏎️ 更好的ORM库 (Better ORM library that is simple, fast and self-mockable for Go)
Stars: ✭ 102 (+537.5%)
Mutual labels:  fast, simple
Ataraxia
Simple and lightweight source-based multi-platform Linux distribution with musl libc.
Stars: ✭ 226 (+1312.5%)
Mutual labels:  fast, simple

mocha-simple-html-reporter

NPM Status Travis Status Dependency Status

This is a custom reporter for use with the Javascript testing framework, mocha. It generates a HTML/CSS report that helps visualize your test suites.

Sample Report

Sample Report

Install

$ npm install --save-dev mocha-simple-html-reporter

Usage

Tell mocha to use this reporter:

$ mocha testfile.js --reporter mocha-simple-html-reporter --reporter-options output=report.html

By default, it will output to the console. To write directly to a file, use --reporter-options output=filename.html.

Related

FAQ

Why not use original HTML reporter?

The HTML reporter is currently the only browser reporter supported by Mocha.

It means that original HTML reporter not building HTML report. It run tests in browser.

Why not use mocha-html-reporter package?

The mocha-html-reporter package has the following problems:

  • It not able report about failures only. If your project has many tests, it is difficult to find the error among thousands of passed tests.
  • It able to return HTML-report only in console. There is no way to write to a file if your tests writing something to stdout.
  • It requires concatenating result with head.html and tail.html to build report with styles and scripts.
  • You can't move file with HTML report: styles link to CSS-file in node_modules.
  • It does not show execution time for slow tests.
  • It requires jQuery.

Why not use mochawesome package?

The mochawesome package feels very comfortable, but html page will be quite slow for lots of tests.

Besides the interface is different from the original. For some, it may be important.

License

MIT © Andrew Abramov

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].