test: improve test coverage
@nozomuikuta is already working on this.
Since May 25, 2023.
Assessment
This issue has not been assessed yet.
Description
Describe the feature
I found that Citty has no test at the moment.
It's better to have at least unit tests so that we can accept new features and bug fixes from the community as well as unjs members.
I created this issue just for making the situation clear and trackable.
@pi0
Perhaps, are you postponing test implementation based one some thoughts?
If not, I will start working on this issue from adding unit tests.
Additional information
- Would you be willing to help implement this feature?
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from unjs/citty
-
Support alias value with `=` (`-foo=bar`)Possibly taken @guoyangzhen claimed this 224 days ago. Openbug discussion enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
feat(usage): highlight defaultCommand in generated usage outputPossibly taken @jihtsan claimed this 13 days ago. Open
Difficulty 3/5 Half a day Newbie friendliness 45/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Should runCommand forward the selected subcommand result?Possibly taken @abhi-byte62 claimed this 19 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 38/100
-
Support a `multiple` Modifier for Arguments (Variadic Flags and Positionals)Possibly taken @LandonSchropp claimed this 106 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 55/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
awslabs/visual-asset-management-system#804 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
restatedev/sdk-typescript#813 ·
-
bug desktop P1 session XS
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Merit-Systems/x402scan#1312 ·
-
type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Azure/apiops-cli#331 ·
Maintainers usually reply within 3 days