RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

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!

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.

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in