rbs
rbs copied to clipboard
[RBS syntax] Syntax to embed tests in signatures
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/