{"id":15285388,"url":"https://github.com/blond/mocha-simple-html-reporter","last_synced_at":"2025-04-12T23:55:27.680Z","repository":{"id":54402005,"uuid":"68366468","full_name":"blond/mocha-simple-html-reporter","owner":"blond","description":"Simple HTML reporter for Mocha","archived":false,"fork":false,"pushed_at":"2021-02-20T08:44:46.000Z","size":1047,"stargazers_count":17,"open_issues_count":7,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T23:55:16.486Z","etag":null,"topics":["fast","html-report","mocha","simple"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blond.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-16T09:07:47.000Z","updated_at":"2025-03-03T23:35:28.000Z","dependencies_parsed_at":"2022-08-13T14:31:19.418Z","dependency_job_id":null,"html_url":"https://github.com/blond/mocha-simple-html-reporter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Fmocha-simple-html-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Fmocha-simple-html-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Fmocha-simple-html-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Fmocha-simple-html-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blond","download_url":"https://codeload.github.com/blond/mocha-simple-html-reporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647232,"owners_count":21139083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fast","html-report","mocha","simple"],"created_at":"2024-09-30T15:04:31.102Z","updated_at":"2025-04-12T23:55:27.654Z","avatar_url":"https://github.com/blond.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"mocha-simple-html-reporter\n==========================\n\n[![NPM Status][npm-img]][npm]\n[![Travis Status][test-img]][travis]\n[![Dependency Status][david-img]][david]\n\n[npm]:          https://www.npmjs.org/package/mocha-simple-html-reporter\n[npm-img]:      https://img.shields.io/npm/v/mocha-simple-html-reporter.svg\n\n[travis]:       https://travis-ci.org/blond/mocha-simple-html-reporter\n[test-img]:     https://img.shields.io/travis/blond/mocha-simple-html-reporter/master.svg?label=tests\n\n[david]:        https://david-dm.org/blond/mocha-simple-html-reporter\n[david-img]:    https://img.shields.io/david/blond/mocha-simple-html-reporter/master.svg?style=flat\n\nThis is a custom reporter for use with the Javascript testing framework, [mocha](http://mochajs.org/). It generates a HTML/CSS report that helps visualize your test suites.\n\nSample Report\n-------------\n\n![Sample Report](./report.gif)\n\nInstall\n-------\n\n```\n$ npm install --save-dev mocha-simple-html-reporter\n```\n\nUsage\n-----\n\nTell mocha to use this reporter:\n\n```shell\n$ mocha testfile.js --reporter mocha-simple-html-reporter --reporter-options output=report.html\n```\n\nBy default, it will output to the console. To write directly to a file, use `--reporter-options output=filename.html`.\n\nRelated\n-------\n\n* [mocha-html-reporter](https://github.com/HermannPencole/mocha-html-reporter) — reporter with original Mocha-style.\n* [good-mocha-html-reporter](https://github.com/Gauge/html_table_reporter) — reporter with custom style.\n* [mochawesome](https://github.com/adamgruber/mochawesome) — builds user-friendly report with percentage, charts and navigation menu.\n\nFAQ\n---\n\n### Why not use original HTML reporter?\n\n\u003e The HTML reporter is currently the only browser reporter supported by Mocha.\n\nIt means that original HTML reporter not building HTML report. It run tests in browser.\n\n### Why not use `mocha-html-reporter` package?\n\nThe `mocha-html-reporter` package has the following problems:\n\n* 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.\n* 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`.\n* It requires concatenating result with `head.html` and `tail.html` to build report with styles and scripts.\n* You can't move file with HTML report: styles link to CSS-file in `node_modules`.\n* It does not show execution time for slow tests.\n* It requires `jQuery`.\n\n### Why not use `mochawesome` package?\n\nThe `mochawesome` package feels very comfortable, but html page will be quite slow for lots of tests.\n\nBesides the interface is different from the original. For some, it may be important.\n\nLicense\n-------\n\nMIT © [Andrew Abramov](https://github.com/blond)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblond%2Fmocha-simple-html-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblond%2Fmocha-simple-html-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblond%2Fmocha-simple-html-reporter/lists"}