RubyFlow The Ruby and Rails community linklog

Combining RDoc and RSpec to create testable documentation

I would love to hear your feedback on the idea of “combining RDoc and RSpec to create testable documentation”. Posted a more detailed explanation at: http://gist.github.com/412283

Comments

I would hope that this would try to approach some of the usability of Python’s doctests: http://docs.python.org/library/doctest.html

I’m all for it, as I like Python’s doctests, and don’t know whether there exists an equivalent for rdoc testing.

checkout the rubydoctest gem…

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