Is there an API documentation for Rspec like the one for Rails?
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With