Api documentation for Rspec? [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionIs 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.
They have some documentation:
http://rspec.info/documentation/
It's not as good as Rails but it's a start.
Also, some docs can be found here http://apidock.com/rspec
精彩评论