RSpec
RDoc
Our great sponsors
RSpec | RDoc | |
---|---|---|
7 | 8 | |
2,867 | 819 | |
0.0% | 0.9% | |
0.0 | 8.7 | |
over 1 year ago | 3 days ago | |
Ruby | Ruby | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RSpec
-
Why Gherkin (Cucumber, SpecFlow,…) Always Failed with UI Test Automation?
RSpec is the most popular “Behaviour Driven Development for Ruby”. RSpec v3.8.0 alone has over 193 million downloads on RubyGems. While RSpec may also be used for unit or integration tests, its download count is quite impressive. As a comparison, the most-downloaded Cucumber v3.1.2 is merely 8.8 million.
-
10 Awesome Ruby Gems for Ruby on Rails Web Development
RSpec
-
Need help regarding ruby install on Mac
pry and rspec are gems. You had at least 3 rubies (system, rbenv, rvm), and each ruby puts its gems in a different folder. Your rspec might be in a folder for rbenv's ruby. If you switched to rvm's ruby, then bundle exec rspec would fail because rvm's ruby can't find rbenv's gems.
-
Introducing a new RSpec
this project is not rspec ](https://rubygems.org/gems/rspec, it is r_spec ](https://rubygems.org/gems/r_spec
-
49 Days of Ruby: Day 47 -- Testing Frameworks: RSpec
RSpec defines itself as:
-
Building Jekyll-Twitch, the gem
RSpec This is my favorite testing gem. I love how readable and well-organized the tests are.
RDoc
-
Xeme: I'd value your opinion on my new Ruby gem
In addition to project documentation, you've included a lot of code comments. You could adopt a standardized format and use it to generate API documentation. RDoc and YARD are two options. If I were reviewing this code at work, I would probably ask you to remove comments that explain what, not why.
-
The right is on the left
That turns out to be a pretty common use case for markdown. Github, for example, renders your README.md is part of a git repo's "home" page. It's also common to have tooling that parses specially formatted comments in your source code and produce a documentation bundle, usually as a web page (ex. RDoc, YARD, JSDoc, etc.).
-
RDoc questions
I have an open (draft) documentation PR for RDoc over at GitHub (https://github.com/ruby/rdoc/pull/824) that has six unanswered questions. These are embedded in the committed text itself, and each is labelled as "Reviewers: ...."
- ¿Por qué aprender Ruby en 2021?
-
Generate API Docs
If you want to document your whole code base you should check https://github.com/ruby/rdoc
-
CVE-2021-31799: A command injection vulnerability in RDoc
I suspect the fix is to remove_unparseable, and the repository, like the CVE, just hasn't been updated yet.
-
Building Jekyll-Twitch, the gem
RDoc We'll use this gem to document our TwitchTag.rb class.
What are some alternatives?
minitest - minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.
YARD - YARD is a Ruby Documentation tool. The Y stands for "Yay!"
shoulda-matchers - Simple one-liner tests for common Rails functionality
Asciidoctor - :gem: A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML 5, DocBook 5, and other formats.
Cucumber - A home for issues that are common to multiple cucumber repositories
Apipie - Ruby on Rails API documentation tool
Bacon - a small RSpec clone
grape-swagger - Add OAPI/swagger v2.0 compliant documentation to your grape API
Spinach - Spinach is a BDD framework on top of Gherkin.
Annotate - Annotate Rails classes with schema and routes info
RR - RR is a test double framework that features a rich selection of double techniques and a terse syntax. ⛺
rspec_api_documentation - Automatically generate API documentation from RSpec