Unit test codegen
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
Research direction
Start by reading generator/client/api.test.ts around lines 68-81, which is the referenced example for testing generated code. Determine the intended scope for pure schema-to-code tests and whether ts-morph or ts-poet is relevant; done should include focused assertions that generated code is correct for representative schema chunks.
Written by the indexing model from the issue text.
Description
#231 is in the trash, but it had one part I really liked, and can't believe we didn't do before: pure functions that take in a chunk of schema and assert on the generated code!
I also learned about these libraries that could give more structure to our very stringy generation code:
- Dominant language
- TypeScript
- Stars
- 33
- Forks
- 4
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
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 oxidecomputer/oxide.ts
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
oxidecomputer/oxide.ts#386 ·
-
oxidecomputer/oxide.ts#372 · 2 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
oxidecomputer/oxide.ts#329 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
oxidecomputer/oxide.ts#276 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
oxidecomputer/oxide.ts#250 ·
All issues in oxidecomputer/oxide.ts
Similar issues
-
comp/dashboard P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·