Ruby RSpec

Open-source Ruby projects categorized as RSpec

Top 23 Ruby RSpec Projects

  • shoulda-matchers

    Simple one-liner tests for common Rails functionality

    Project mention: Rspec - should relations between model be tested? | reddit.com/r/rails | 2022-10-26

    The value of shoulda-matchers is right there in the first line of the README: "test common Rails functionality that, if written by hand, would be much longer, more complex, and error-prone."

  • mutant

    Automated code reviews via mutation testing - semantic code coverage.

    Project mention: An ex-Googler's guide to dev tools | news.ycombinator.com | 2022-07-17

    There's a pretty good Ruby gem I've used for this before:

    https://github.com/mbj/mutant

  • Zigi

    Delete the most useless function ever: context switching.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • Ruby Tests Profiling Toolbox

    Ruby Tests Profiling Toolbox

    Project mention: A Trick For Reading Flamegraphs | dev.to | 2022-11-15

    TestProf can be used to get flamegraphs for Ruby test suites.

  • rspec_api_documentation

    Automatically generate API documentation from RSpec

  • Spork

    A DRb server for testing frameworks (RSpec / Cucumber currently) that forks before each run to ensure a clean testing state.

  • ifme

    Free, open source mental health communication web app to share experiences with loved ones

    Project mention: How Muay Thai and Powerlifting Made Me a Better Programmer 🥊🏋️‍♀️👩🏻‍💻 – Hacktoberfest Wrap-up! | dev.to | 2022-10-27

    Similarly, I spent a significant amount of time setting up the ruby on rails project of if-me for Hacktoberfest. It was hard and I wanted to give up in the middle, but every time I wanted to quit – there was this invisible force inside me that would kick in and make me go on.

  • email-spec

    Collection of RSpec/MiniTest matchers and Cucumber steps for testing email in a ruby app using ActionMailer or Pony

    Project mention: Is email-spec gem still worth it to have around? | reddit.com/r/rails | 2022-06-30

    It's no surprise that sometimes rspec gets a little bit lacking when testing mailers, and sometimes you want to actually test in isolation if and how a mail is sent (in my case, some mailers are using some complex callbacks that I've to unit-test). My current project is using [email-spec](https://github.com/email-spec/email-spec) but honestly half the code in the project is almost legacy, and the fact that email-spec hasn't been updated for years isn't helping me to decide if I should be aiming to remove it and refactor the specs or if it's still something that kicks off in new rails projects.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • awspec

    RSpec tests for your AWS resources.

  • Phony

    E164 international phone number normalizing, splitting, formatting.

  • Aruba

    Test command-line applications with Cucumber-Ruby, RSpec or Minitest.

    Project mention: Ruby: "the best" language for general automation | dev.to | 2022-05-12

    Another tool I found was Aruba, written in Ruby, but the documentation is practically non-existent and it recommends using it with Cucumber. Even the examples inside are in a features folder. I refuse to use Cucumber…

  • Fuubar

    The instafailing RSpec progress bar formatter

  • Nyan Cat

    Nyan Cat inspired RSpec formatter!

  • rubocop-rspec

    Code style checking for RSpec files

    Project mention: Best practices as code using RuboCop | news.ycombinator.com | 2022-01-21
  • puffing-billy

    A rewriting web proxy for testing interactions between your browser and external sites. Works with ruby + rspec.

  • Spinach

    Spinach is a BDD framework on top of Gherkin.

    Project mention: Spinach? | reddit.com/r/softwaretesting | 2022-08-14

    I'm assuming this is it? https://github.com/codegram/spinach I'm hoping not. The lack of recent commits doesn't speak well to the liveliness of the community or the health of the project.

  • Knapsack

    Knapsack splits tests evenly across parallel CI nodes to run fast CI build and save you time. (by ArturT)

    Project mention: Ask HN: What is the most impactful thing you've ever built? | news.ycombinator.com | 2022-11-18

    I've created a knapsack ruby gem for CI parallelisation that has over 122 million downloads. Primarily due to the fact, Gitlab is using it.

    I spin off https://knapsackpro.com from the knapsack gem and we are helping our customers run fast CI builds.

  • Bacon

    a small RSpec clone (by leahneukirchen)

  • RR

    RR is a test double framework that features a rich selection of double techniques and a terse syntax. ⛺ (by rr)

  • rspec_junit_formatter

    RSpec results that your CI can read

  • rspec-openapi

    Generate OpenAPI schema from RSpec request specs

    Project mention: OpenAPI Specification: The Complete Guide | dev.to | 2022-05-18

    rspec-openapi Generate OpenAPI schema from RSpec request specs. - Github - rspec-openapi

  • FactoryTrace

    Simple tool to maintain factories and traits from FactoryBot

    Project mention: N+1 problem will never be an issue with N1Loader gem | reddit.com/r/u_djezzzl | 2022-01-22

    Don't know Database Consistency or Factory Trace which can help you to improve your code? Check them out too!

  • Test::Unit

    test-unit

  • PpSql

    Rails ActiveRecord SQL queries log beautifier

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-11-18.

Ruby RSpec related posts

Index

What are some of the best open-source RSpec projects in Ruby? This list will help you:

Project Stars
1 shoulda-matchers 3,332
2 mutant 1,870
3 Ruby Tests Profiling Toolbox 1,581
4 rspec_api_documentation 1,420
5 Spork 1,401
6 ifme 1,341
7 email-spec 1,165
8 awspec 1,159
9 Phony 955
10 Aruba 931
11 Fuubar 889
12 Nyan Cat 738
13 rubocop-rspec 718
14 puffing-billy 619
15 Spinach 569
16 Knapsack 474
17 Bacon 421
18 RR 316
19 rspec_junit_formatter 287
20 rspec-openapi 261
21 FactoryTrace 254
22 Test::Unit 249
23 PpSql 234
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.
scoutapm.com