rspec-mocks

Mocking framework

A test-double framework for RSpec that supports method stubs and mocking of real objects as well as generated test-doubles.

RSpec's 'test double' framework, with support for stubbing and mocking

GitHub

1k stars
38 watching
358 forks
Language: Ruby
last commit: about 1 month ago
Linked from 1 awesome list

rspecruby

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
kjvarga/rr-to-rspec-converter Converts RR code to RSpec syntax for mocking and stubbing 1
rodjek/rspec-puppet Tools and configuration for writing tests for Puppet manifests in Ruby 362
sabirvirtuoso/mockit A Swift mocking framework for unit testing with features such as stubbing, mocking, call verification, and argument matching. 120
phake/phake A PHP framework for creating mock objects and test doubles to simplify testing of code 479
jonreid/ocmockito An Objective-C framework for creating mock objects to test and verify application behavior 991
mocktools/ruby-smtp-mock A tool for mocking SMTP servers in test environments. 67
freerange/mocha A Ruby library for mocking and stubbing in unit tests 1,225
jimweirich/flexmock A flexible mock object library for unit testing Ruby applications 94
davydovanton/rspec-hanami A RSpec testing framework for Hanami web applications 46
rspec/rspec-expectations A Ruby API to express expected outcomes of code examples 1,260
eliotsykes/rspec-rails-examples A comprehensive reference for testing Rails apps using RSpec 2,156
leoture/mockswift A library that allows you to write mocks and make better tests with Swift 90
bsnape/rspec-terraform A testing framework for Terraform modules 92
jasonbock/rocks A mocking library based on the Compiler APIs (Roslyn + Mocks) to create mock objects for unit testing and verification of virtual methods 257
eranpeer/fakeit A C++ mocking framework for testing and development 1,255