[RBS syntax] Syntax to embed tests in signatures
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 2.2k
- Forks
- 256
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 37
Description
Writing different files for tests is a hassle. One possible improvement is to allow embedding tests in RBS files.
Similar solutions:
- doctest in Python: https://docs.python.org/3/library/doctest.html
- Storybook for React components: https://storybook.js.org/docs/guides/guide-react/
Contributor 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.
Research direction
The issue does not name any files, tests, or entry points. Start by reading the RBS syntax implementation and compare the referenced Python doctest and React Storybook approaches; the proposal first needs an agreed embedding syntax, scope, and validation plan before implementation can be considered done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100