←back to thread

511 points mootrichard | 1 comments | | HN request time: 0.2s | source
1. Lio ◴[] No.23994991[source]
I use unit tests as a design and documentation tool.

Since we already have a specification tool (MiniTest) in the StdLib it would interesting if we could combine the rbs files with spec unit tests.

I already have my matching test file open anyway. Having the typing information in the same place would encourage the use of types, tests and documentation.