├── .gitignore ├── .rspec ├── .ruby-version ├── .travis.yml ├── CHANGES.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── VERSION ├── benchmarks ├── rr_benchmark.rb └── rspec_benchmark.rb ├── doc ├── 0.6.0.release.markdown └── introducting_rr.txt ├── lib ├── rr.rb └── rr │ ├── adapters │ ├── minitest.rb │ ├── rr_methods.rb │ ├── rspec.rb │ ├── rspec2.rb │ └── test_unit.rb │ ├── blank_slate.rb │ ├── class_instance_method_defined.rb │ ├── double.rb │ ├── double_definitions │ ├── child_double_definition_create.rb │ ├── double_definition.rb │ ├── double_definition_create.rb │ ├── double_definition_create_blank_slate.rb │ ├── double_injections │ │ ├── any_instance_of.rb │ │ └── instance.rb │ └── strategies │ │ ├── double_injection │ │ ├── any_instance_of.rb │ │ ├── double_injection_strategy.rb │ │ └── instance.rb │ │ ├── implementation │ │ ├── implementation_strategy.rb │ │ ├── proxy.rb │ │ ├── reimplementation.rb │ │ └── strongly_typed_reimplementation.rb │ │ ├── strategy.rb │ │ ├── strategy_methods.rb │ │ └── verification │ │ ├── dont_allow.rb │ │ ├── mock.rb │ │ ├── stub.rb │ │ └── verification_strategy.rb │ ├── double_matches.rb │ ├── errors │ ├── argument_equality_error.rb │ ├── double_definition_error.rb │ ├── double_not_found_error.rb │ ├── double_order_error.rb │ ├── rr_error.rb │ ├── spy_verification_errors │ │ ├── double_injection_not_found_error.rb │ │ ├── invocation_count_error.rb │ │ └── spy_verification_error.rb │ ├── subject_does_not_implement_method_error.rb │ ├── subject_has_different_arity_error.rb │ └── times_called_error.rb │ ├── expectations │ ├── any_argument_expectation.rb │ ├── argument_equality_expectation.rb │ └── times_called_expectation.rb │ ├── hash_with_object_id_key.rb │ ├── injections │ ├── double_injection.rb │ ├── injection.rb │ ├── method_missing_injection.rb │ └── singleton_method_added_injection.rb │ ├── method_dispatches │ ├── base_method_dispatch.rb │ ├── method_dispatch.rb │ └── method_missing_dispatch.rb │ ├── proc_from_block.rb │ ├── recorded_calls.rb │ ├── space.rb │ ├── spy_verification.rb │ ├── spy_verification_proxy.rb │ ├── times_called_matchers │ ├── any_times_matcher.rb │ ├── at_least_matcher.rb │ ├── at_most_matcher.rb │ ├── integer_matcher.rb │ ├── never_matcher.rb │ ├── non_terminal.rb │ ├── proc_matcher.rb │ ├── range_matcher.rb │ ├── terminal.rb │ └── times_called_matcher.rb │ ├── version.rb │ ├── wildcard_matchers.rb │ └── wildcard_matchers │ ├── anything.rb │ ├── boolean.rb │ ├── duck_type.rb │ ├── hash_including.rb │ ├── is_a.rb │ ├── numeric.rb │ ├── range.rb │ ├── regexp.rb │ └── satisfy.rb ├── rr.gemspec └── spec ├── global_helper.rb ├── runner.rb └── suites ├── minitest ├── minitest_integration_test.rb ├── runner.rb └── test_helper.rb ├── rspec ├── functional │ ├── any_instance_of │ │ ├── all_instances_of_spec.rb │ │ ├── any_instance_of_spec.rb │ │ └── instance_of_spec.rb │ ├── dont_allow │ │ └── dont_allow_after_stub_spec.rb │ ├── dsl_spec.rb │ ├── mock │ │ └── mock_spec.rb │ ├── proxy │ │ └── proxy_spec.rb │ ├── spy │ │ └── spy_spec.rb │ ├── strong │ │ └── strong_spec.rb │ └── stub │ │ └── stub_spec.rb ├── rspec_backtrace_tweaking_spec_fixture.rb ├── runner.rb ├── shared │ ├── space.rb │ └── times_called_expectation.rb ├── spec_helper.rb └── unit │ ├── adapters │ ├── rr_methods │ │ ├── double_creators_spec.rb │ │ ├── space_spec.rb │ │ └── wildcard_matchers_spec.rb │ └── rspec_spec.rb │ ├── double_definitions │ ├── child_double_definition_create_spec.rb │ ├── double_definition_create_blank_slate_spec.rb │ └── double_definition_create_spec.rb │ ├── errors │ └── rr_error_spec.rb │ ├── expectations │ ├── any_argument_expectation_spec.rb │ ├── anything_argument_equality_expectation_spec.rb │ ├── argument_equality_expectation_spec.rb │ ├── boolean_argument_equality_expectation_spec.rb │ ├── hash_including_argument_equality_expectation_spec.rb │ ├── hash_including_spec.rb │ ├── satisfy_argument_equality_expectation_spec.rb │ ├── satisfy_spec.rb │ └── times_called_expectation │ │ ├── any_times_matcher_spec.rb │ │ ├── at_least_matcher_spec.rb │ │ ├── at_most_matcher_spec.rb │ │ ├── integer_matcher_spec.rb │ │ ├── proc_matcher_spec.rb │ │ └── range_matcher_spec.rb │ ├── hash_with_object_id_key_spec.rb │ ├── injections │ └── double_injection │ │ ├── double_injection_spec.rb │ │ └── double_injection_verify_spec.rb │ ├── invocation_matcher_spec.rb │ ├── proc_from_block_spec.rb │ ├── rr_spec.rb │ ├── space_spec.rb │ ├── spy_verification_spec.rb │ ├── times_called_matchers │ ├── any_times_matcher_spec.rb │ ├── at_least_matcher_spec.rb │ ├── at_most_matcher_spec.rb │ ├── integer_matcher_spec.rb │ ├── proc_matcher_spec.rb │ ├── range_matcher_spec.rb │ └── times_called_matcher_spec.rb │ └── wildcard_matchers │ ├── anything_spec.rb │ ├── boolean_spec.rb │ ├── duck_type_spec.rb │ ├── is_a_spec.rb │ ├── numeric_spec.rb │ ├── range_spec.rb │ └── regexp_spec.rb └── test_unit ├── runner.rb ├── test_helper.rb ├── test_unit_backtrace_test.rb └── test_unit_integration_test.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.0.0-p0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/CHANGES.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/Rakefile -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 1.0.5 2 | -------------------------------------------------------------------------------- /benchmarks/rr_benchmark.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/benchmarks/rr_benchmark.rb -------------------------------------------------------------------------------- /benchmarks/rspec_benchmark.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/benchmarks/rspec_benchmark.rb -------------------------------------------------------------------------------- /doc/0.6.0.release.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/doc/0.6.0.release.markdown -------------------------------------------------------------------------------- /doc/introducting_rr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/doc/introducting_rr.txt -------------------------------------------------------------------------------- /lib/rr.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr.rb -------------------------------------------------------------------------------- /lib/rr/adapters/minitest.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/adapters/minitest.rb -------------------------------------------------------------------------------- /lib/rr/adapters/rr_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/adapters/rr_methods.rb -------------------------------------------------------------------------------- /lib/rr/adapters/rspec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/adapters/rspec.rb -------------------------------------------------------------------------------- /lib/rr/adapters/rspec2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/adapters/rspec2.rb -------------------------------------------------------------------------------- /lib/rr/adapters/test_unit.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/adapters/test_unit.rb -------------------------------------------------------------------------------- /lib/rr/blank_slate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/blank_slate.rb -------------------------------------------------------------------------------- /lib/rr/class_instance_method_defined.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/class_instance_method_defined.rb -------------------------------------------------------------------------------- /lib/rr/double.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/child_double_definition_create.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/child_double_definition_create.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/double_definition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/double_definition.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/double_definition_create.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/double_definition_create.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/double_definition_create_blank_slate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/double_definition_create_blank_slate.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/double_injections/any_instance_of.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/double_injections/any_instance_of.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/double_injections/instance.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/double_injections/instance.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/double_injection/any_instance_of.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/double_injection/any_instance_of.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/double_injection/double_injection_strategy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/double_injection/double_injection_strategy.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/double_injection/instance.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/double_injection/instance.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/implementation/implementation_strategy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/implementation/implementation_strategy.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/implementation/proxy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/implementation/proxy.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/implementation/reimplementation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/implementation/reimplementation.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/implementation/strongly_typed_reimplementation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/implementation/strongly_typed_reimplementation.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/strategy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/strategy.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/strategy_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/strategy_methods.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/verification/dont_allow.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/verification/dont_allow.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/verification/mock.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/verification/mock.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/verification/stub.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/verification/stub.rb -------------------------------------------------------------------------------- /lib/rr/double_definitions/strategies/verification/verification_strategy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_definitions/strategies/verification/verification_strategy.rb -------------------------------------------------------------------------------- /lib/rr/double_matches.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/double_matches.rb -------------------------------------------------------------------------------- /lib/rr/errors/argument_equality_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/argument_equality_error.rb -------------------------------------------------------------------------------- /lib/rr/errors/double_definition_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/double_definition_error.rb -------------------------------------------------------------------------------- /lib/rr/errors/double_not_found_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/double_not_found_error.rb -------------------------------------------------------------------------------- /lib/rr/errors/double_order_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/double_order_error.rb -------------------------------------------------------------------------------- /lib/rr/errors/rr_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/rr_error.rb -------------------------------------------------------------------------------- /lib/rr/errors/spy_verification_errors/double_injection_not_found_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/spy_verification_errors/double_injection_not_found_error.rb -------------------------------------------------------------------------------- /lib/rr/errors/spy_verification_errors/invocation_count_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/spy_verification_errors/invocation_count_error.rb -------------------------------------------------------------------------------- /lib/rr/errors/spy_verification_errors/spy_verification_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/spy_verification_errors/spy_verification_error.rb -------------------------------------------------------------------------------- /lib/rr/errors/subject_does_not_implement_method_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/subject_does_not_implement_method_error.rb -------------------------------------------------------------------------------- /lib/rr/errors/subject_has_different_arity_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/subject_has_different_arity_error.rb -------------------------------------------------------------------------------- /lib/rr/errors/times_called_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/errors/times_called_error.rb -------------------------------------------------------------------------------- /lib/rr/expectations/any_argument_expectation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/expectations/any_argument_expectation.rb -------------------------------------------------------------------------------- /lib/rr/expectations/argument_equality_expectation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/expectations/argument_equality_expectation.rb -------------------------------------------------------------------------------- /lib/rr/expectations/times_called_expectation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/expectations/times_called_expectation.rb -------------------------------------------------------------------------------- /lib/rr/hash_with_object_id_key.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/hash_with_object_id_key.rb -------------------------------------------------------------------------------- /lib/rr/injections/double_injection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/injections/double_injection.rb -------------------------------------------------------------------------------- /lib/rr/injections/injection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/injections/injection.rb -------------------------------------------------------------------------------- /lib/rr/injections/method_missing_injection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/injections/method_missing_injection.rb -------------------------------------------------------------------------------- /lib/rr/injections/singleton_method_added_injection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/injections/singleton_method_added_injection.rb -------------------------------------------------------------------------------- /lib/rr/method_dispatches/base_method_dispatch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/method_dispatches/base_method_dispatch.rb -------------------------------------------------------------------------------- /lib/rr/method_dispatches/method_dispatch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/method_dispatches/method_dispatch.rb -------------------------------------------------------------------------------- /lib/rr/method_dispatches/method_missing_dispatch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/method_dispatches/method_missing_dispatch.rb -------------------------------------------------------------------------------- /lib/rr/proc_from_block.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/proc_from_block.rb -------------------------------------------------------------------------------- /lib/rr/recorded_calls.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/recorded_calls.rb -------------------------------------------------------------------------------- /lib/rr/space.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/space.rb -------------------------------------------------------------------------------- /lib/rr/spy_verification.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/spy_verification.rb -------------------------------------------------------------------------------- /lib/rr/spy_verification_proxy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/spy_verification_proxy.rb -------------------------------------------------------------------------------- /lib/rr/times_called_matchers/any_times_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/times_called_matchers/any_times_matcher.rb -------------------------------------------------------------------------------- /lib/rr/times_called_matchers/at_least_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/times_called_matchers/at_least_matcher.rb -------------------------------------------------------------------------------- /lib/rr/times_called_matchers/at_most_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/times_called_matchers/at_most_matcher.rb -------------------------------------------------------------------------------- /lib/rr/times_called_matchers/integer_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/times_called_matchers/integer_matcher.rb -------------------------------------------------------------------------------- /lib/rr/times_called_matchers/never_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/times_called_matchers/never_matcher.rb -------------------------------------------------------------------------------- /lib/rr/times_called_matchers/non_terminal.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/times_called_matchers/non_terminal.rb -------------------------------------------------------------------------------- /lib/rr/times_called_matchers/proc_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/times_called_matchers/proc_matcher.rb -------------------------------------------------------------------------------- /lib/rr/times_called_matchers/range_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/times_called_matchers/range_matcher.rb -------------------------------------------------------------------------------- /lib/rr/times_called_matchers/terminal.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/times_called_matchers/terminal.rb -------------------------------------------------------------------------------- /lib/rr/times_called_matchers/times_called_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/times_called_matchers/times_called_matcher.rb -------------------------------------------------------------------------------- /lib/rr/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/version.rb -------------------------------------------------------------------------------- /lib/rr/wildcard_matchers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/wildcard_matchers.rb -------------------------------------------------------------------------------- /lib/rr/wildcard_matchers/anything.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/wildcard_matchers/anything.rb -------------------------------------------------------------------------------- /lib/rr/wildcard_matchers/boolean.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/wildcard_matchers/boolean.rb -------------------------------------------------------------------------------- /lib/rr/wildcard_matchers/duck_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/wildcard_matchers/duck_type.rb -------------------------------------------------------------------------------- /lib/rr/wildcard_matchers/hash_including.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/wildcard_matchers/hash_including.rb -------------------------------------------------------------------------------- /lib/rr/wildcard_matchers/is_a.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/wildcard_matchers/is_a.rb -------------------------------------------------------------------------------- /lib/rr/wildcard_matchers/numeric.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/wildcard_matchers/numeric.rb -------------------------------------------------------------------------------- /lib/rr/wildcard_matchers/range.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/wildcard_matchers/range.rb -------------------------------------------------------------------------------- /lib/rr/wildcard_matchers/regexp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/wildcard_matchers/regexp.rb -------------------------------------------------------------------------------- /lib/rr/wildcard_matchers/satisfy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/lib/rr/wildcard_matchers/satisfy.rb -------------------------------------------------------------------------------- /rr.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/rr.gemspec -------------------------------------------------------------------------------- /spec/global_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/global_helper.rb -------------------------------------------------------------------------------- /spec/runner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/runner.rb -------------------------------------------------------------------------------- /spec/suites/minitest/minitest_integration_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/minitest/minitest_integration_test.rb -------------------------------------------------------------------------------- /spec/suites/minitest/runner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/minitest/runner.rb -------------------------------------------------------------------------------- /spec/suites/minitest/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/minitest/test_helper.rb -------------------------------------------------------------------------------- /spec/suites/rspec/functional/any_instance_of/all_instances_of_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/functional/any_instance_of/all_instances_of_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/functional/any_instance_of/any_instance_of_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/functional/any_instance_of/any_instance_of_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/functional/any_instance_of/instance_of_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/functional/any_instance_of/instance_of_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/functional/dont_allow/dont_allow_after_stub_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/functional/dont_allow/dont_allow_after_stub_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/functional/dsl_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/functional/dsl_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/functional/mock/mock_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/functional/mock/mock_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/functional/proxy/proxy_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/functional/proxy/proxy_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/functional/spy/spy_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/functional/spy/spy_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/functional/strong/strong_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/functional/strong/strong_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/functional/stub/stub_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/functional/stub/stub_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/rspec_backtrace_tweaking_spec_fixture.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/rspec_backtrace_tweaking_spec_fixture.rb -------------------------------------------------------------------------------- /spec/suites/rspec/runner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/runner.rb -------------------------------------------------------------------------------- /spec/suites/rspec/shared/space.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/shared/space.rb -------------------------------------------------------------------------------- /spec/suites/rspec/shared/times_called_expectation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/shared/times_called_expectation.rb -------------------------------------------------------------------------------- /spec/suites/rspec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/spec_helper.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/adapters/rr_methods/double_creators_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/adapters/rr_methods/double_creators_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/adapters/rr_methods/space_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/adapters/rr_methods/space_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/adapters/rr_methods/wildcard_matchers_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/adapters/rr_methods/wildcard_matchers_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/adapters/rspec_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/adapters/rspec_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/double_definitions/child_double_definition_create_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/double_definitions/child_double_definition_create_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/double_definitions/double_definition_create_blank_slate_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/double_definitions/double_definition_create_blank_slate_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/double_definitions/double_definition_create_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/double_definitions/double_definition_create_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/errors/rr_error_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/errors/rr_error_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/any_argument_expectation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/any_argument_expectation_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/anything_argument_equality_expectation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/anything_argument_equality_expectation_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/argument_equality_expectation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/argument_equality_expectation_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/boolean_argument_equality_expectation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/boolean_argument_equality_expectation_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/hash_including_argument_equality_expectation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/hash_including_argument_equality_expectation_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/hash_including_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/hash_including_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/satisfy_argument_equality_expectation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/satisfy_argument_equality_expectation_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/satisfy_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/satisfy_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/times_called_expectation/any_times_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/times_called_expectation/any_times_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/times_called_expectation/at_least_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/times_called_expectation/at_least_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/times_called_expectation/at_most_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/times_called_expectation/at_most_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/times_called_expectation/integer_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/times_called_expectation/integer_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/times_called_expectation/proc_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/times_called_expectation/proc_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/expectations/times_called_expectation/range_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/expectations/times_called_expectation/range_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/hash_with_object_id_key_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/hash_with_object_id_key_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/injections/double_injection/double_injection_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/injections/double_injection/double_injection_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/injections/double_injection/double_injection_verify_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/injections/double_injection/double_injection_verify_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/invocation_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/invocation_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/proc_from_block_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/proc_from_block_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/rr_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/rr_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/space_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/space_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/spy_verification_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/spy_verification_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/times_called_matchers/any_times_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/times_called_matchers/any_times_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/times_called_matchers/at_least_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/times_called_matchers/at_least_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/times_called_matchers/at_most_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/times_called_matchers/at_most_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/times_called_matchers/integer_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/times_called_matchers/integer_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/times_called_matchers/proc_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/times_called_matchers/proc_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/times_called_matchers/range_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/times_called_matchers/range_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/times_called_matchers/times_called_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/times_called_matchers/times_called_matcher_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/wildcard_matchers/anything_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/wildcard_matchers/anything_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/wildcard_matchers/boolean_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/wildcard_matchers/boolean_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/wildcard_matchers/duck_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/wildcard_matchers/duck_type_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/wildcard_matchers/is_a_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/wildcard_matchers/is_a_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/wildcard_matchers/numeric_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/wildcard_matchers/numeric_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/wildcard_matchers/range_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/wildcard_matchers/range_spec.rb -------------------------------------------------------------------------------- /spec/suites/rspec/unit/wildcard_matchers/regexp_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/rspec/unit/wildcard_matchers/regexp_spec.rb -------------------------------------------------------------------------------- /spec/suites/test_unit/runner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/test_unit/runner.rb -------------------------------------------------------------------------------- /spec/suites/test_unit/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/test_unit/test_helper.rb -------------------------------------------------------------------------------- /spec/suites/test_unit/test_unit_backtrace_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/test_unit/test_unit_backtrace_test.rb -------------------------------------------------------------------------------- /spec/suites/test_unit/test_unit_integration_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/btakita/rr/HEAD/spec/suites/test_unit/test_unit_integration_test.rb --------------------------------------------------------------------------------