doctest for Ruby
Rdoctest provides the functionality of Python’s doctest in Ruby. It scans your Ruby files for RDoc code blocks and tests them, improving your documentation and test coverage at the same time.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Rdoctest provides the functionality of Python’s doctest in Ruby. It scans your Ruby files for RDoc code blocks and tests them, improving your documentation and test coverage at the same time.
Comments
Care to elaborate?
Sure…let’s import a bad idea from another language. Good one :)
How’s it a bad idea? It shouldn’t replace unit testing, but augment it. It shouldn’t bloat documentation, but verify it.
Post a comment