Are test files documentation?

Michael Stahnke mastahnke at gmail.com
Tue Aug 10 22:43:43 UTC 2010


I was reviewing a ruby package today, and while reviewing noticed that
%{geminstdir}/tests was not marked as %doc.  I checked my specs and on
some it is and on other it is not.

What is the official policy?  If there isn't one, can we decide on how
to do this? Also, how should spec be handled?  Some developers prefer
spec over test.

Right now for documentation files we have:

%{geminstdir}/
   ri
   rdoc
   examples
   Rakefile
   History
   README
   License



stahnma


More information about the ruby-sig mailing list