{"id":19041865,"url":"https://github.com/allure-framework/allure-karma","last_synced_at":"2025-04-17T18:33:16.115Z","repository":{"id":12194435,"uuid":"14799177","full_name":"allure-framework/allure-karma","owner":"allure-framework","description":"Allure adapter to karma test runner","archived":false,"fork":false,"pushed_at":"2020-01-30T11:11:23.000Z","size":57,"stargazers_count":9,"open_issues_count":0,"forks_count":9,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-10-30T00:55:04.265Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allure-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-29T11:00:31.000Z","updated_at":"2024-08-02T02:19:05.000Z","dependencies_parsed_at":"2022-09-05T10:50:09.046Z","dependency_job_id":null,"html_url":"https://github.com/allure-framework/allure-karma","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allure-framework%2Fallure-karma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allure-framework%2Fallure-karma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allure-framework%2Fallure-karma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allure-framework%2Fallure-karma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allure-framework","download_url":"https://codeload.github.com/allure-framework/allure-karma/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223300108,"owners_count":17122515,"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":[],"created_at":"2024-11-08T22:32:56.714Z","updated_at":"2024-11-08T22:32:57.274Z","avatar_url":"https://github.com/allure-framework.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# karma-allure-reporter\n\n\u003e Reporter for the Allure XML format. It allows to make detailed report\n\n## Installation\n\nYou can install `karma-allure-reporter` into your project as devDependency with:\n\n```bash\nnpm install karma-allure-reporter --save-dev\n```\n\n## Configuration\n\nAdd allure into `reporters` section.\n\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    reporters: ['progress', 'allure'],\n\n    // the default configuration\n    allureReport: {\n      reportDir: '', // By default files will be save in the base dir\n      useBrowserName: true // add browser name to report and classes names\n    }\n  });\n};\n```\n\nYou can pass list of reporters as a CLI argument too:\n```bash\nkarma start --reporters allure,dots\n```\n\n## API\n\nWith allure reporter you get some functions for provide additional info about tests. All functions available as methods\nof the global `allure` object.\n\n* `description(description)` assign a description to current testcase\n* `severity(severity)` assign a severity to current testcase. Possible values enumerated as properties,\neg. `allure.severity.BLOCKER`. All securities by descending of their importance:\n    * BLOCKER\n    * CRITICAL\n    * NORMAL\n    * MINOR\n    * TRIVIAL\n\n* `createStep(name, stepFunction)` defines test step. Returns wrapped function which reports\nabout every step calling. Step function can be nested within one another. It is most powerful feature of allure, because\nit allow to write self-documented tests which report about every its step.\n\nSee the [docs] in core project for more information about these features and their purpose.\n\n## Example\n\nThere is an [example project], where you may look to allure-reporter in action.\n\n----\n\nFor more information about Allure see the [allure core] project.\n\nFor more information about Karma see the [Karma homepage].\n\n\n[Karma homepage]: http://karma-runner.github.com\n\n\n[allure core]: https://github.com/allure-framework/allure\n[example project]: https://github.com/allure-examples/allure-karma-example\n[docs]: https://github.com/allure-framework/allure/blob/master/docs/dictionary.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallure-framework%2Fallure-karma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallure-framework%2Fallure-karma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallure-framework%2Fallure-karma/lists"}