Displaying 1 to 20 from 22 results

mocha - Mocha is a mocking and stubbing library for Ruby

  •    Ruby

Install the latest version of the gem with the following command... Note: If you are intending to use Mocha with Test::Unit or MiniTest, you should only setup Mocha after loading the relevant test library...

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

  •    Ruby

This is the latest version of our README.md (Branch: "master"). There is also the README of the latest released version of "aruba" (Branch: "still"). Our most current documentation to get started with aruba as a user can be found on . It is generated from our feature files describing the use of aruba.

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

  •    Ruby

A collection of matchers for RSpec, MiniTest and Cucumber steps to make testing emails go smoothly. This library works with ActionMailer and Pony. When using it with ActionMailer it works with ActiveRecord Mailer, and action_mailer_cache_delivery.

intransient_capybara - A set of improvements to Minitest/Capybara/Poltergeist/PhantomJS test stack that reduces the occurrence of transient failures

  •    Ruby

This gem provides a set of improvements to the commonly used test technology stack of Minitest, Capybara, Poltergeist, and PhantomJS for rails applications, intended to reduce the occurrence of transient failures.Include RackRequestBlocker, in application.rb.

minitest-matchers_vaccine - :syringe: Adds matcher support to minitest without all the other RSpec-style expectation "infections

  •    Ruby

Adds matcher support to minitest without all the other RSpec-style expectation infections.Using matchers with RSpec-style expectations requires that we infect the objects that we are testing with new methods. Matcher implementations are typically overkill, but there are a lot of good testing libraries that still insist on standardizing on matchers. These matchers still have some value, and this gem tries to extract that value with straight-forward assertions that adhere to the matcher spec.

with_model - Dynamically build an Active Record model (with table) within an RSpec context

  •    Ruby

with_model dynamically builds an ActiveRecord model (with table) before each test in a group and destroys it afterwards. Install as usual: gem install with_model or add gem 'with_model' to your Gemfile. See .travis.yml for supported (tested) Ruby versions.

what_to_run - Regression test selection for Ruby

  •    Ruby

What To Run is a lib for regression test selection for Ruby projects, use it to predict which tests you should run when you make any modification on your codebase. This lib was inspired by @tenderlove blog post. Make sure to check it out.

vim-ruby-minitest - Vim highlighting & completion for MiniTest

  •    VimL

Vim syntax highlighting and i_CTRL-X_CTRL-U completion of MiniTest methods and assertions. Copy the after/ directory into one of your Vim runtime directories.

fake_ftp - A fake FTP server for use with ruby tests

  •    Ruby

This is a gem that allows you to test FTP implementations in ruby. It is a minimal single-client FTP server that can be bound to any arbitrary port on localhost. We want to ensure that our code works, in a way that is agnostic to the implementation used (unlike with stubs or mocks).

ruby_single_test - VIM plugin for running a single ruby test under the cursor

  •    VimL

VIM plugin for running a single Ruby test under the cursor. Supports Test::Unit, Rspec and Minitest.

routes_coverage - Routes coverage for rails request/integration/capybara tests

  •    Ruby

Sometimes you need to know which routes are covered by your rails test suite. Install the gem and run your tests, then open generated report file coverage/routes.html.

action-cable-testing - Action Cable testing utils

  •    Ruby

This gem provides missing testing utils for Action Cable. NOTE: this gem is just a combination of two PRs to Rails itself (#23211 and #27191) and (hopefully) will be merged into Rails eventually.

n_plus_one_control - RSpec and Minitest matchers to prevent N+1 queries problem

  •    Ruby

RSpec and Minitest matchers to prevent the N+1 queries problem. Unlike other libraries (such as db-query-matchers, rspec-sqlimit, etc), with n_plus_one_control you don't have to specify exact expectations to control your code behaviour (e.g. expect { subject }.to query(2).times).

pretty-diffs - Enable fancy colored diffs in your minitest assertions

  •    Ruby

A small gem to lubricate your testing workflow with prettier than usual diffs. When you make assertions between large strings with Minitest, for example JSON responses, it is laborious to identify what has changed. The usual workflow involves copy-pasting the output into a diff tool; a rather boring and time-consuming process.

rails-transporter - AtomEditor package that to open related Rails files on current context

  •    CoffeeScript

This package provides commands to open file depending on file which is being opened by active editor. This command provides 2 features.

cats-effect-testing - Integration between cats-effect and test frameworks

  •    Scala

A quickie little utility which makes it easier to write tests using specs2 (mutable or functional), scalatest, µTest or minitest where the examples are effectful within cats.effect.IO. The above compiles and runs exactly as you would expect.

minitest-style-guide - Best practices for writing your tests


Role models are important. This Minitest style guide outlines the recommended best practices for real-world programmers to write code that can be maintained by other real-world programmers.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.