Welcome, and thank you for taking time in contributing to Unitest! You can improve Unitest in different ways:
- ∆ submit new features
- ✘ find bugs
- ✔︎ review code
- 𝔸 improve our documentation
You will need Deno 1.15+.
- Fork this repository to your own GitHub account.
- Clone the repository to your local device.
- Create a new branch
git checkout -b BRANCH_NAME
. - Push your branch to Github after all tests passed.
- Make a pull request.
- Merge to master branch by our maintainers.
You can run all tests with the following command:
deno test --ignore=node_modules,_docs --import-map=test_import_map.json --doc
- _docs - documents and document generator
- _e2e - End to End tests
- compat - compat module for browser
- expect - expect module
- dummy - dummy objects
- helper - helper for entire module
- matcher - matcher collections
- mock - mock object
- modifier - modifier collections
- test - test register
The code style is based on the Deno Style Guide.
Commit messages should follow conventional commit. If you are available Node.js, you can use the CLI to commit interactively. (optional)
You can do this with any package manager, but please do not commit the newly generated lock file.
npm i
npm run cz
yarn
yarn cz
pnpm i
pnpm cz
cz-conventional-changelog is invoked to generate commit messages interactively.
The scope should follow Project Structure.
example:
feat(matcher): add new matcher
All contributors are expected to follow our Code of Conduct.