{"id":16017545,"url":"https://github.com/xdumaine/testem-time-reporter","last_synced_at":"2025-03-17T20:32:11.155Z","repository":{"id":57145490,"uuid":"90390374","full_name":"xdumaine/testem-time-reporter","owner":"xdumaine","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-20T13:43:08.000Z","size":18,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T04:28:22.431Z","etag":null,"topics":["test-reporting","testem"],"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/xdumaine.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-05-05T15:27:38.000Z","updated_at":"2018-03-30T17:05:02.000Z","dependencies_parsed_at":"2022-09-05T22:30:56.865Z","dependency_job_id":null,"html_url":"https://github.com/xdumaine/testem-time-reporter","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdumaine%2Ftestem-time-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdumaine%2Ftestem-time-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdumaine%2Ftestem-time-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdumaine%2Ftestem-time-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xdumaine","download_url":"https://codeload.github.com/xdumaine/testem-time-reporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243885886,"owners_count":20363643,"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":["test-reporting","testem"],"created_at":"2024-10-08T16:20:25.499Z","updated_at":"2025-03-17T20:32:10.860Z","avatar_url":"https://github.com/xdumaine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Testem Time Reporter\n\nHelpful in diagnosing long running tests. Reporter shows long running tests in colors\nbased on thresholds. It also shows failures and error messages.\n\n- Fast passing tests are just dots\n- Slow passing tests show time to run, and test name, in color based on thresholds\n- Legend at end out output shows to avoid confusion\n- Longest running test printed at the end\n- Total test time printed at the end\n\n## Installation\n\n    npm install --save-dev testem-time-reporter\n\n## Usage\n\nCreate a `testem.js` config file that sets reporter to `testem-time-reporter`:\n\n````\nconst TimeReporter = require('testem-time-reporter');\n\nmodule.exports = {\n  framework: 'qunit',\n  test_page: 'tests/index.html?hidepassed\u0026coverage',\n  disable_watching: true,\n  launch_in_ci: [\n    'PhantomJS'\n  ],\n  reporter: new TimeReporter()\n};\n````\n\nRun tests in an Ember CLI project, reporting only failures:\n\n    ember test --config-file ~/work/project/testem.js\n\n## Colors\n\n* Red \u003e 2 seconds\n* Magenta \u003e 1 second\n* Yellow \u003e 0.5 seconds\n* Blue is for skipped tests\n\n## Notes\n\nThis currently doesn't work with `ember test --module some-module` because Ember CLI\nrewrites the `testem.json` file to accomplish this, and doesn't support the\n`testem.js` file.  \n\nSee [Ember CLI config rewriting](https://github.com/ember-cli/ember-cli/blob/f4844e674d35a3651693954fc9baf0dbb03cc22f/lib/commands/test.js#L51)\nand [testem.js parsing](https://github.com/airportyh/testem/blob/aa6e9767ca81ae031095779c733882ba42184f42/lib/config.js#L86).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdumaine%2Ftestem-time-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdumaine%2Ftestem-time-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdumaine%2Ftestem-time-reporter/lists"}