Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Api documentation for Rspec? [closed]

Tags:

rspec

Is there an API documentation for Rspec like the one for Rails?

like image 513
never_had_a_name Avatar asked Aug 08 '10 19:08

never_had_a_name


2 Answers

The official documentation for RSpec is hosted on relishapp
http://relishapp.com/rspec/

The documentation is quite good.

There's also pure API documentation which is a little less helpful. It's hosted at
http://rubydoc.info/gems/rspec-core/2.6.4/RSpec

All of this documentation is pulled from the source code, so if you're curious to see the documentation mixed in with the code you can check out rspec from github.

like image 166
Gabriel Yarra Avatar answered Sep 18 '22 01:09

Gabriel Yarra


I'd recommend the RSpec Book. You can get a beta PDF version, as the actual book is not yet available at time of writing.

Granted, it covers BDD, Cucumber and others, but it's mainly about RSpec. The official site had poor documentation to begin with, saying that, there's not much to RSpec. What I do know is from that book, and quick blog posts however.

like image 42
Finglas Avatar answered Sep 21 '22 01:09

Finglas