{"id":19973809,"url":"https://github.com/dojo/cli-test-unit","last_synced_at":"2026-06-06T18:32:02.264Z","repository":{"id":66888739,"uuid":"165267017","full_name":"dojo/cli-test-unit","owner":"dojo","description":"Dojo command for unit tests","archived":false,"fork":false,"pushed_at":"2023-09-27T16:30:19.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-12T09:31:55.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dojo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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}},"created_at":"2019-01-11T15:38:44.000Z","updated_at":"2019-01-11T15:45:48.000Z","dependencies_parsed_at":"2024-11-13T03:23:06.103Z","dependency_job_id":null,"html_url":"https://github.com/dojo/cli-test-unit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo%2Fcli-test-unit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo%2Fcli-test-unit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo%2Fcli-test-unit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo%2Fcli-test-unit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dojo","download_url":"https://codeload.github.com/dojo/cli-test-unit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241406498,"owners_count":19958005,"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-13T03:12:59.462Z","updated_at":"2026-06-06T18:32:02.233Z","avatar_url":"https://github.com/dojo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cli-test-unit\n\n[![Build Status](https://travis-ci.org/dojo/cli-test-unit.svg?branch=master)](https://travis-ci.org/dojo/cli-test-unit)\n[![Build status](https://ci.appveyor.com/api/projects/status/nbgg2yf7hepsvvn2/branch/master?svg=true)](https://ci.appveyor.com/project/Dojo/cli-test-unit/branch/master)\n[![codecov](https://codecov.io/gh/dojo/cli-test-unit/branch/master/graph/badge.svg)](https://codecov.io/gh/dojo/cli-test-unit)\n[![npm version](https://badge.fury.io/js/%40dojo%2Fcli-test-unit.svg)](https://badge.fury.io/js/%40dojo%2Fcli-test-unit)\n\nThe official Dojo unit test command. This package uses Intern to run unit tests against your Dojo project.\n\n## Usage\n\n### Prerequisites\n\nThis project is a command for the [Dojo CLI]. Please visit the Dojo CLI project for information about the project and how to install.\n\n### Installation\n\nThe use `@dojo/cli-test-unit` in a project, install the package:\n\n```bash\nnpm install @dojo/cli-test-unit\n```\n\n### Basic Usage\n\n```bash\ndojo test unit\n```\n\n## How do I contribute?\n\nWe appreciate your interest!  Please see the [Dojo Meta Repository](https://github.com/dojo/meta#readme) for the Contributing Guidelines.\n\n### Code Style\n\nThis repository uses [`prettier`](https://prettier.io/) for code styling rules and formatting. A pre-commit hook is installed automatically and configured to run `prettier` against all staged files as per the configuration in the projects `package.json`.\n\nAn additional npm script to run `prettier` (with write set to `true`) against all `src` and `test` project files is available by running:\n\n```bash\nnpm run prettier\n```\n\n## Testing\n\nTest cases MUST be written using [Intern] using the \"bdd\" test interface and \"assert\" assertion interface.\n\n90% branch coverage MUST be provided for all code submitted to this repository, as reported by Istanbul’s combined coverage results for all supported platforms.\n\nTo test locally in node run:\n\n`npm test`\n\n© 2018 [JS Foundation] \u0026 contributors. [New BSD](LICENSE) license.\n\n[Dojo CLI]: https://github.com/dojo/cli\n[Intern]: https://theintern.io/\n[JS Foundation]: https://js.foundation/\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e Initial repo skeleton\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdojo%2Fcli-test-unit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdojo%2Fcli-test-unit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdojo%2Fcli-test-unit/lists"}