The Crystal Programming Language Forum

Doctest/docspec for crystal

I wanted to write some documentation with examples and then verify them with a doctest tool. I found docpsec but it has not been touched for 3 years. Is there anything newer/better or should I use that and try to improve that?

github:maiha has a tool that is used to valida std-lib samples are valid. GitHub - maiha/crystal-examples: This has been completely rewritten in 2019. The old implementation has moved to the alpha branch.

Every couple of months there is a lovely PR based on it.