{"id":14385283,"url":"https://github.com/tmcgee123/karma-spec-reporter","last_synced_at":"2025-12-18T07:04:10.474Z","repository":{"id":42152812,"uuid":"10073219","full_name":"tmcgee123/karma-spec-reporter","owner":"tmcgee123","description":"Karma reporter, that prints each executed spec to commandline (similar to mocha's spec reporter).","archived":false,"fork":false,"pushed_at":"2023-01-27T11:49:29.000Z","size":532,"stargazers_count":152,"open_issues_count":8,"forks_count":60,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-09T05:42:04.083Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","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/tmcgee123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-15T07:24:23.000Z","updated_at":"2024-06-10T19:06:47.000Z","dependencies_parsed_at":"2023-02-15T08:46:30.380Z","dependency_job_id":null,"html_url":"https://github.com/tmcgee123/karma-spec-reporter","commit_stats":null,"previous_names":["mlex/karma-spec-reporter"],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgee123%2Fkarma-spec-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgee123%2Fkarma-spec-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgee123%2Fkarma-spec-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgee123%2Fkarma-spec-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmcgee123","download_url":"https://codeload.github.com/tmcgee123/karma-spec-reporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230720997,"owners_count":18270488,"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":["hacktoberfest"],"created_at":"2024-08-28T18:02:05.128Z","updated_at":"2025-12-18T07:04:05.434Z","avatar_url":"https://github.com/tmcgee123.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# karma-spec-reporter\n\n[![Join the chat at https://gitter.im/mlex/karma-spec-reporter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mlex/karma-spec-reporter?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge) [![CircleCI](https://circleci.com/gh/tmcgee123/karma-spec-reporter/tree/master.svg?style=svg)](https://circleci.com/gh/tmcgee123/karma-spec-reporter/tree/master)\n[![Coverage Status](https://coveralls.io/repos/github/tmcgee123/karma-spec-reporter/badge.svg?branch=master)](https://coveralls.io/github/tmcgee123/karma-spec-reporter?branch=master)\n\nTest reporter, that prints detailed results to console (similar to mocha's spec reporter).\n\n## Usage\n\nTo use in your own Node.js project, just execute\n```\nnpm install karma-spec-reporter --save-dev\n```\nThis will download the karma-spec-reporter and add the dependency to `package.json`.\n\nThen add ``'spec'`` to reporters in karma.conf.js, e.g.\n\n```\nreporters: ['spec']\n```\n\nTake a look at the [karma-spec-reporter-example](http://github.com/mlex/karma-spec-reporter-example) repository to see the reporter in action.\n\n## Configuration\n\nTo limit the number of lines logged per test or suppress specific reporting, use the `specReporter` configuration in your\nkarma.conf.js file\n``` js\n//karma.conf.js\n...\n  config.set({\n    ...\n      reporters: [\"spec\"],\n      specReporter: {\n        maxLogLines: 5,             // limit number of lines logged per test\n        suppressSummary: true,      // do not print summary\n        suppressErrorSummary: true, // do not print error summary\n        suppressFailed: false,      // do not print information about failed tests\n        suppressPassed: false,      // do not print information about passed tests\n        suppressSkipped: true,      // do not print information about skipped tests\n        showBrowser: false,         // print the browser for each spec\n        showSpecTiming: false,      // print the time elapsed for each spec\n        failFast: true,             // test would finish with error when a first fail occurs\n        prefixes: {\n          success: '    OK: ',      // override prefix for passed tests, default is '✓ '\n          failure: 'FAILED: ',      // override prefix for failed tests, default is '✗ '\n          skipped: 'SKIPPED: '      // override prefix for skipped tests, default is '- '\n        }\n      },\n      plugins: [\"karma-spec-reporter\"],\n    ...\n```\n\n## Contributing\n\n### Running tests\n\nTo run the tests for the index.js file, run: `npm test`\n\n### Generating Coverage\n\nTo see the coverage report for the module, run: `npm run coverage`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcgee123%2Fkarma-spec-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmcgee123%2Fkarma-spec-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcgee123%2Fkarma-spec-reporter/lists"}