test: Consider moving some testing from unit to cli level
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reading the bbin fn in test-util to see how it invokes the CLI. Then review existing unit tests, especially those related to #44 and #124, to identify candidates for migration. Done means those tests exercise the CLI via bbin rather than calling functions directly.
Written by the indexing model from the issue text.
Description
While working on #44, I learned about test-util's bbin fn, which effectively tests from the cli interface.
I was thinking that, where possible, we should consider testing from bbin instead of at the unit level.
Especially now since I've added cli validation and option coercions, this would help us uncover more problems.
Fearing that this work would make #124 too big, I created this issue instead.
Let me know if you like this idea; I'd be happy to give it a whirl.
- Dominant language
- Clojure
- Stars
- 195
- Forks
- 15
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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 babashka/bbin
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 64/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nextjournal/clerk#830 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
IOP tokens release blocker team qa team qa autotests WG adoption
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
penpot/penpot#13540 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
izhangzhihao/intellij-rainbow-brackets#2903 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100