This sounds pretty cool. Are there any ideas or examples of how features would get turned into end user documentation? My first thought is something RDoc like would go in the free-form user story area... I'd certainly like to help as time permitted. I'd definitely like to be more informed of rspec internals.<br>
<br><div class="gmail_quote">On Fri, Nov 6, 2009 at 7:49 AM, David Chelimsky <span dir="ltr"><<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
describe "RSpec's documentation" do<br>
it "should be helpful"<br>
it "should be maintainable"<br>
end<br>
<br>
I've been wanting to improve RSpec's documentation situation for a long time, but my writing energies have been consumed by rspec itself and The RSpec Book for a longer time, and will continue to do so for the foreseeable future. So I'm going to need some help.<br>
<br>
The problem to solve is that we have (at least) four sources of documentation, each of which moves at its own pace and has evolved in its meaning/place:<br>
<br>
1. The RSpec code examples that ship with RSpec<br>
2. The Cucumber features that ship with RSpec<br>
3. The github wiki: <a href="http://wiki.github.com/dchelimsky/rspec" target="_blank">http://wiki.github.com/dchelimsky/rspec</a><br>
4. <a href="http://rspec.info" target="_blank">http://rspec.info</a><br>
<br>
The model that Aslak and the Cucumber community has used has worked very well because it's a community effort, but there is still some duplication between what's on the wiki [1] and the Cucumber features/scenarios that ship with Cucumber [2].<br>
<br>
In the long run, what I'd like is the following:<br>
<br>
* Cucumber features that ship with RSpec become the authoritative end-user documentation. This is something that anybody can contribute to with patches, as it's all in files that ship with RSpec. I'd also like to use such an effort to push the envelope on Cucumber features as executable documentation. I think that with a little bit of work we could use the features to generate a website with meaningful organization/navigation. Is anybody already doing that?<br>
* RSpec code examples become a solid source of additional detailed documentation for those who want to either extend RSpec or debug problems.<br>
* <a href="http://rspec.info" target="_blank">http://rspec.info</a> becomes a one pager like <a href="http://cukes.info" target="_blank">http://cukes.info</a><br>
* The github wiki becomes a community driven resource center with links to tutorials, blogs, matcher libraries, etc, etc<br>
<br>
I welcome suggestions, but I really need volunteers volunteers! I'm not going to be able to spend much personal time on this, so if there are any among you who are willing to coordinate with me and drive the effort, I'd love to hear from you.<br>
<br>
Cheers,<br>
David<br>
<br>
[1] <a href="http://wiki.github.com/aslakhellesoy/cucumber" target="_blank">http://wiki.github.com/aslakhellesoy/cucumber</a><br>
[2] <a href="http://github.com/aslakhellesoy/cucumber/tree/master/features/" target="_blank">http://github.com/aslakhellesoy/cucumber/tree/master/features/</a><br>
<br>
<br>
_______________________________________________<br>
rspec-devel mailing list<br>
<a href="mailto:rspec-devel@rubyforge.org" target="_blank">rspec-devel@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/rspec-devel" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Ryan Carmelo Briones<br>