Ruby RSpec

Open-source Ruby projects categorized as RSpec | Edit details

Top 23 Ruby RSpec Projects

  • GitHub repo shoulda-matchers

    Simple one-liner tests for common Rails functionality

    Project mention: Como configurar ambiente de testes em Ruby on Rails com RSpec | | 2021-04-21
  • GitHub repo mutant

    Automated code reviews via mutation testing - semantic code coverage.

    Project mention: Mutant – Automated code reviews via mutation testing – semantic code coverage | | 2021-09-08
  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo Spork

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

  • GitHub repo rspec_api_documentation

    Automatically generate API documentation from RSpec

  • GitHub repo Ruby Tests Profiling Toolbox

    Ruby Tests Profiling Toolbox

    Project mention: Learning resources to broaden the knowledge | | 2021-05-13

    I also love the test-prof documentation, there's a lot of good ideas on how to improve test performance.

  • GitHub repo awspec

    RSpec tests for your AWS resources.

    Project mention: Terraforming in 2021 – new features, testing and compliance | | 2021-05-02

    Before we dive into own cloud provider compliance checking services, we want to highlight yet another open source tool, namely InSpec. It allows you to write tests in ruby, and was built on top of RSpec. If you know already awsspec, then this should feel very similar, with the advantage that InSpec also supports GCP and Azure.

  • GitHub repo Phony

    E164 international phone number normalizing, splitting, formatting.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo Aruba

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

  • GitHub repo Fuubar

    The instafailing RSpec progress bar formatter

  • GitHub repo Nyan Cat

    Nyan Cat inspired RSpec formatter!

  • GitHub repo rubocop-rspec

    Code style checking for RSpec files

    Project mention: Beginner's Guide to RuboCop in Rails | | 2021-08-18

    rubocop-rspec For Rspec; a test framework popular for testing Rails code

  • GitHub repo puffing-billy

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

    Project mention: puffing-billy VS vcr - a user suggested alternative | | 2021-10-07
  • GitHub repo Spinach

    Spinach is a BDD framework on top of Gherkin.

  • GitHub repo Knapsack

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

    Project mention: Testing Ruby on Rails on Github Actions with RSpec | | 2021-04-19

    name: Main on: [push] jobs: test: runs-on: ubuntu-latest # If you need DB like PostgreSQL, Redis then define service below. # services: postgres: image: postgres:10.8 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: "" POSTGRES_DB: postgres ports: - 5432:5432 # needed because the postgres container does not provide a healthcheck # tmpfs makes DB faster by using RAM options: >- --mount type=tmpfs,destination=/var/lib/postgresql/data --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 redis: image: redis ports: - 6379:6379 options: --entrypoint redis-server # strategy: fail-fast: false matrix: # [n] - where the n is a number of parallel jobs you want to run your tests on. # Use a higher number if you have slow tests to split them between more parallel jobs. # Remember to update the value of the `ci_node_index` below to (0..n-1). ci_node_total: [8] # Indexes for parallel jobs (starting from zero). # E.g. use [0, 1] for 2 parallel jobs, [0, 1, 2] for 3 parallel jobs, etc. ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7] env: RAILS_ENV: test GEMFILE_RUBY_VERSION: 2.7.2 PGHOST: localhost PGUSER: postgres # Rails verifies the time zone in DB is the same as the time zone of the Rails app TZ: "Europe/Warsaw" steps: - uses: actions/[email protected] - name: Set up Ruby uses: ruby/[email protected] with: # Not needed with a .ruby-version file ruby-version: 2.7 # runs 'bundle install' and caches installed gems automatically bundler-cache: true - name: Create DB run: | bin/rails db:prepare - name: Run tests env: KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC: ${{ secrets.KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC }} KNAPSACK_PRO_CI_NODE_TOTAL: ${{ matrix.ci_node_total }} KNAPSACK_PRO_CI_NODE_INDEX: ${{ matrix.ci_node_index }} KNAPSACK_PRO_LOG_LEVEL: info # if you use Knapsack Pro Queue Mode you must set below env variable # to be able to retry CI build and run previously recorded tests # KNAPSACK_PRO_FIXED_QUEUE_SPLIT: true # RSpec split test files by test examples feature - it's optional # KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES: true run: | bundle exec rake knapsack_pro:queue:rspec

  • GitHub repo Bacon

    a small RSpec clone

  • GitHub repo RR

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

  • GitHub repo rspec_junit_formatter

    RSpec results that your CI can read

    Project mention: How to run fast RSpec tests on CircleCI with parallel jobs and have nice JUnit XML reports in CircleCI web UI | | 2021-03-03

    rspec_junit_formatter - it’s a ruby gem that generates an XML report for executed tests with information about test failures. This report can be automatically read by CircleCI to present it in CircleCI web UI. No more browsing through long RSpec output - just look at highlighted failing specs in the TESTS tab :)

  • GitHub repo Test::Unit


  • GitHub repo PpSql

    Rails ActiveRecord SQL queries log beautifier

  • GitHub repo FactoryTrace

    Simple tool to maintain factories and traits from FactoryBot

  • GitHub repo Pundit Matchers

    A set of RSpec matchers for testing Pundit authorisation policies.

  • GitHub repo Howitzer

    A Ruby-based framework for acceptance testing

  • GitHub repo Emoji-RSpec

    Custom Emoji Formatters for RSpec

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 2021-10-07.

Ruby RSpec related posts


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

Project Stars
1 shoulda-matchers 3,155
2 mutant 1,792
3 Spork 1,402
4 rspec_api_documentation 1,396
5 Ruby Tests Profiling Toolbox 1,381
6 awspec 1,122
7 Phony 929
8 Aruba 915
9 Fuubar 866
10 Nyan Cat 731
11 rubocop-rspec 663
12 puffing-billy 603
13 Spinach 564
14 Knapsack 446
15 Bacon 420
16 RR 286
17 rspec_junit_formatter 269
18 Test::Unit 236
19 PpSql 233
20 FactoryTrace 220
21 Pundit Matchers 180
22 Howitzer 179
23 Emoji-RSpec 172
Find remote jobs at our new job board There are 32 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives