{"id":15008400,"url":"https://github.com/melvspace/dart_test_reporter","last_synced_at":"2026-06-03T16:31:04.297Z","repository":{"id":243516975,"uuid":"812650369","full_name":"melvspace/dart_test_reporter","owner":"melvspace","description":"This repository contains various tools and utilities for generating and deploy reports for Dart applications. https://pub.dev/packages/allure_report https://pub.dev/packages/allure_server_cli","archived":false,"fork":false,"pushed_at":"2025-08-21T18:08:55.000Z","size":2661,"stargazers_count":5,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-29T13:05:03.651Z","etag":null,"topics":["allure-framework","allure-report","allure-server","allure2","dart","dartlang"],"latest_commit_sha":null,"homepage":"https://riih.github.io/dart_test_reporter/","language":"Dart","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/melvspace.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-09T13:52:57.000Z","updated_at":"2026-03-16T08:46:57.000Z","dependencies_parsed_at":"2024-06-22T12:26:17.291Z","dependency_job_id":"64ab1169-a263-4828-8c71-465883fd47ad","html_url":"https://github.com/melvspace/dart_test_reporter","commit_stats":null,"previous_names":["riih/dart_test_reporter","melvspace/dart_test_reporter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/melvspace/dart_test_reporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melvspace%2Fdart_test_reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melvspace%2Fdart_test_reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melvspace%2Fdart_test_reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melvspace%2Fdart_test_reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melvspace","download_url":"https://codeload.github.com/melvspace/dart_test_reporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melvspace%2Fdart_test_reporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33874679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["allure-framework","allure-report","allure-server","allure2","dart","dartlang"],"created_at":"2024-09-24T19:18:20.445Z","updated_at":"2026-06-03T16:31:04.275Z","avatar_url":"https://github.com/melvspace.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test Reporting utilities\n\nThis repository contains various tools and utilities for generating and deploy reports for Dart applications\n\n[Allure Demo - GH Pages](https://riih.github.io/dart_test_reporter/)\n\n## Concept\n\nDart test core packages does not provide a way to inject custom reporting logic when you call `dart test`.\n\nTo workaround this problem there is `test_reporter` cli tool which wraps `dart test` process and processes events from it.\n\n`test_reporter` uses dynamic package loading with Isolates. You can write your own reporter package and provide it to `test_reporter`. See [allure_report](packages/allure_report/) for example.\n\n## [Test Reporter](packages/test_reporter/)\n\n### Wrapping test command\n\nPrepend your test command with `test_reporter`\n\n```bash\ndart run test_reporter -- dart test\n```\n\nYou can use it with Flutter tests\n\n```bash\ndart run test_reporter -- flutter test\n```\n\nYou can pass arguments to dart/flutter tests as is\n\n```bash\ndart run test_reporter -- flutter test --tags golden --coverage\n```\n\n## [`allure_report` - Allure Report Adapter](packages/allure_report/)\n\n### Usage\n\n1. Add `allure_report` and `test_reporter` to your dependencies.\n\n```yaml\ndev_dependencies:\n  # reporter\n  allure_report: ^1.0.0\n  test_reporter: ^1.0.0\n```\n\n\n2. Create `reporter.dart` in `test` directory. If no file created, **Basic Console Reporter** will be used.\n\n```dart\nimport 'package:allure_report/allure_report.dart';\nimport 'package:test_reporter/test_reporter.dart';\n\nTestReporter create() {\n  return AllureReporter();\n}\n```\n\n3. Run test_reporter command with your tests\n\n```bash\ndart run test_reporter -- dart test\n```\n\n```bash\ndart run test_reporter -- flutter test\n```\n\n### Output\n\nAllure results are placed in `allure-results` folder in project root folder.\n\n\u003e [!WARNING]\n\u003e Full Allure format is not supported. Not all features are available at the moment.\n\u003e \n\u003e Full spec support is needs further development\n\n## [Allure Server CLI](packages/allure_server_cli/)\n\n`allures` is meant to be used to upload reports to OSS [Allure Server](https://github.com/kochetkov-ma/allure-server)\n\nSee [Allure Server repository](https://github.com/kochetkov-ma/allure-server) to find instructions to build it up and running.\n\n### Install\n\n```bash\ndart pub global activate allure_server_cli\n```\n\nCommand will be available with name `allures`\n\n```bash\nallures --help\n```\n\n### Usage\n\nTo upload results to Allure server you should zip results to ZIP Archive\n\n```\nzip -r allure-results.zip allure-results/\n```\n\nThen you can upload report to Allure server with nex command\n\n```bash\nallures --host http://localhost:8080 report --upload allure-results.zip --path develop\n```\n\nSee help for additional usage info\n\n```bash\nallures --help\n```\n\n## Development\n\nThis repository is a mono-repo managed with [`melos`](https://pub.dev/packages/melos). \nEach utility (e.g. `test_reporter`, `allure_report`, `allure_server_cli`) is \nlocated in the `packages/` directory and developed as an independent Dart package.\n\n### Prerequisites\n\n* Dart SDK (\u003e=3.0)\n* Flutter SDK (for Flutter-based testing)\n* [`melos`](https://pub.dev/packages/melos) installed globally:\n\n  ```bash\n  dart pub global activate melos\n  ```\n\n### Getting Started\n\nBootstrap the workspace after cloning or pulling changes:\n\n```bash\nmelos bootstrap\n```\n\nThis installs all package dependencies and links local packages.\n\n### Common Tasks\n\n* Format all code:\n\n  ```bash\n  melos format\n  ```\n\n* Analyze all packages:\n\n  ```bash\n  melos analyze\n  ```\n\n* Run tests:\n\n  ```bash\n  melos run test\n  ```\n\n* Run a script for a specific package:\n\n  ```bash\n  melos run test --scope=allure_report\n  ```\n\n\n## Disclaimer\n\n\u003e [!WARNING]\n\u003e It is hobby-time project created for research of possibility to integrate Dart tests with Allure Reporting Framework. \n\u003e \n\u003e I am not currently supposed to support it as full-feature set by only myself. It depends on demand and user activity.\n\u003e \n\u003e Feel free to contribute :-)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelvspace%2Fdart_test_reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelvspace%2Fdart_test_reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelvspace%2Fdart_test_reporter/lists"}