rbs icon indicating copy to clipboard operation
rbs copied to clipboard

[RBS syntax] Syntax to embed tests in signatures

Open soutaro opened this issue 6 years ago • 0 comments

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/

soutaro avatar Jan 08 '20 08:01 soutaro