On Jun 17, 2010, at 7:54 PM, Xavier Noria wrote:

== Linking Tests to the API

The API should be written in English, but sometimes it would be handy
to be able to consult right there the tests for a given method. You
know, a block with tests that is hidden by default, akin to the
current code block.

Here you need to investigate a way to link tests and methods, and be
able to insert them in the API.

I'm not convinced that this would work well for testing on the scale required in the Rails source, but we use an adaptation of Python's doctest over on Hobo:

http://github.com/tablatom/rubydoctest

--Matt Jones

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Core" group.
To post to this group, send email to rubyonrails-c...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to