github.com/freerange/mocha
A mocking and stubbing library for Ruby
https://github.com/freerange/mocha
Add missing quote to docstrings.
bensherman opened this pull request about 1 month ago
bensherman opened this pull request about 1 month ago
Rubocop fixes
floehopper opened this pull request about 2 months ago
floehopper opened this pull request about 2 months ago
Fix compatibility with ruby 3.5
Earlopain opened this pull request 3 months ago
Earlopain opened this pull request 3 months ago
Regression in `Hash.ruby2_keywords_hash?` behaviour in JRuby v10
floehopper opened this issue 3 months ago
floehopper opened this issue 3 months ago
Automatically create GitHub releases
nitishr opened this pull request 5 months ago
nitishr opened this pull request 5 months ago
Fix enable-frozen-string-literal and clean up step display in CircleCI UI
nitishr opened this pull request 5 months ago
nitishr opened this pull request 5 months ago
Rename `#stubbee` -> `#stubba_object` and `#mock_owner` -> `#stubbee`
floehopper opened this pull request 5 months ago
floehopper opened this pull request 5 months ago
Rename `respond_to?` -> `stubba_respond_to?`
floehopper opened this pull request 5 months ago
floehopper opened this pull request 5 months ago
Automatically create GitHub releases
floehopper opened this issue 5 months ago
floehopper opened this issue 5 months ago
Investigate failing fast on warnings/errors when generating docs using YARD
floehopper opened this issue 5 months ago
floehopper opened this issue 5 months ago
Fix rdoc-related warning when running doc rake task
floehopper opened this pull request 5 months ago
floehopper opened this pull request 5 months ago
fix: cop Lint/LiteralAsCondition offence
nitishr opened this pull request 5 months ago
nitishr opened this pull request 5 months ago
Add documentation coverage check
floehopper opened this pull request 5 months ago
floehopper opened this pull request 5 months ago
Investigate testing example code in documentation
floehopper opened this issue 5 months ago
floehopper opened this issue 5 months ago
Enhance documentation & enforce 100% coverage
nitishr opened this pull request 5 months ago
nitishr opened this pull request 5 months ago
rename: respond_to? ->stubba_respond_to?
nitishr opened this pull request 5 months ago
nitishr opened this pull request 5 months ago
Builds fail fast on any ruby warnings
nitishr opened this pull request 5 months ago
nitishr opened this pull request 5 months ago
Fix benchmark-related warning #733
nitishr opened this pull request 5 months ago
nitishr opened this pull request 5 months ago
Simplify parameter matcher for hashes
nitishr opened this pull request 5 months ago
nitishr opened this pull request 5 months ago
Investigate Mocktail to see if any ideas would be useful in Mocha
floehopper opened this issue 6 months ago
floehopper opened this issue 6 months ago
Remove workaround for JRuby jar-dependencies issue
floehopper opened this pull request 6 months ago
floehopper opened this pull request 6 months ago
Decide whether v3.0.0 can be released
floehopper opened this issue 6 months ago
floehopper opened this issue 6 months ago
Consider using minitest-context to improve readability of tests
floehopper opened this issue 6 months ago
floehopper opened this issue 6 months ago
Investigate removing use of `ruby2_keywords`
floehopper opened this issue 6 months ago
floehopper opened this issue 6 months ago
Fix benchmark-related warning
floehopper opened this issue 6 months ago
floehopper opened this issue 6 months ago
Allow keyword arguments to match an expectation expecting *only* positional arguments
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Improvements to keyword argument matcher unit test
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Improvements to keyword argument matching tests
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Consider failing fast on any Ruby warnings
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Investigate whether it's possible to run the test-unit integration tests using minitest as the "outer" test framework
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Remove support for running tests with minitest pre v5
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Enable expect matching definition option on naming file name cop
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Consider improving directory structure of library code
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Consider improving directory structure for test code
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Convert `ParameterMatchers::Base` class -> module
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Freeze string literals
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Improve error if `Mockery.teardown` called before `Mockery.setup`
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Improve `#mocha_inspect` for empty keyword argument Hash
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Use Ruby v1.9 Hash syntax in Hash#mocha_inspect
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Default strict keyword argument matching to `true` in Ruby v3
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Remove pinning of "jar-dependencies" in Gemfile when JRuby v9.4.10.0 is released
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Consistently use development group in Gemfiles
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Use built-in Ruby debug option vs custom module
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Consider using Ruby's built-in $DEBUG flag instead of `Mocha::Debug`
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Investigate whether `Mocha::ClassMethods::AnyInstance` should be overriding `#respond_to?`
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Consider converting `ParameterMatchers::Base` from a class into a module
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Work out whether ActiveRecord-specific code is still needed
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Fix Ruby v3.4 warnings in ObjectInspectTest
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Fix Ruby warnings in unit tests on Ruby v3.4
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Add Ruby v3.4 to CI build matrix
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Consider adding some kind of documentation coverage check
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Make Gemfiles consistently use a development group or not use a development group
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Rubocop-related improvements
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Fix
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Fix base64 warning in preparation for Ruby v3.4
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Re-think linting
floehopper opened this issue 7 months ago
floehopper opened this issue 7 months ago
Add `Expectation#thrice`
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Improvements to docs for cardinality related methods
floehopper opened this pull request 7 months ago
floehopper opened this pull request 7 months ago
Introduce Expectation#thrice
andrewn617 opened this pull request 7 months ago
andrewn617 opened this pull request 7 months ago
`Expectation#with` improvements
floehopper opened this pull request 8 months ago
floehopper opened this pull request 8 months ago
Default `Configuration#strict_keyword_argument_matching` to `true` in Ruby >= v3.0
floehopper opened this issue 8 months ago
floehopper opened this issue 8 months ago
Improve gemspec description
floehopper opened this pull request 8 months ago
floehopper opened this pull request 8 months ago
Drop support for Ruby v2.1
floehopper opened this pull request 8 months ago
floehopper opened this pull request 8 months ago
Deprecate `Configuration#stubbing_method_on_nil=`
floehopper opened this pull request 8 months ago
floehopper opened this pull request 8 months ago
Deprecate `Mocha::Configuration#stubbing_method_on_nil=`
floehopper opened this issue 8 months ago
floehopper opened this issue 8 months ago
Update description in gemspec
floehopper opened this issue 8 months ago
floehopper opened this issue 8 months ago
Bunder/Rubygems warning: method redefined; discarding old `encode_with`
floehopper opened this issue 8 months ago
floehopper opened this issue 8 months ago
Workaround for JRuby jar-dependencies issue
floehopper opened this pull request 8 months ago
floehopper opened this pull request 8 months ago
More fixes in preparation for Ruby v3.4
floehopper opened this pull request 8 months ago
floehopper opened this pull request 8 months ago
Support single quote instead of backtick for Ruby 3.4
voxik opened this pull request 8 months ago
voxik opened this pull request 8 months ago
Mocha overwrites `includes` function?
ntijoh-daniel-berg opened this issue 8 months ago
ntijoh-daniel-berg opened this issue 8 months ago
Fix never expectation deprecation warning logic
floehopper opened this pull request 8 months ago
floehopper opened this pull request 8 months ago
Testing the block argument
vlad-pisanov opened this issue 8 months ago
vlad-pisanov opened this issue 8 months ago
Consider recording invocations handled by `Mock#stub_everything`
floehopper opened this issue 8 months ago
floehopper opened this issue 8 months ago
Consider using Rubygems' "trusted publishing" to publish gems automatically from GitHub Action
floehopper opened this issue 9 months ago
floehopper opened this issue 9 months ago
Improve docs for `Expectation#with` when it takes a block argument
floehopper opened this issue 9 months ago
floehopper opened this issue 9 months ago
Expectation with never cardinality should display deprecation warning
floehopper opened this pull request 9 months ago
floehopper opened this pull request 9 months ago
Simplify backtrace-related assertions
floehopper opened this pull request 9 months ago
floehopper opened this pull request 9 months ago
Fail fast if invocation matches never expectation
floehopper opened this pull request 9 months ago
floehopper opened this pull request 9 months ago
`expects.never` doesn't handle `stubs` methods correctly
ducmtran opened this issue 9 months ago
ducmtran opened this issue 9 months ago
Add warnings about regressions to release notes
floehopper opened this pull request 9 months ago
floehopper opened this pull request 9 months ago
Improve docs for keyword argument regression introduced in v2.3.0 and corresponding fixes
floehopper opened this issue 9 months ago
floehopper opened this issue 9 months ago
Regression in `.expects(...).with(...)` around keyword arguments between 2.4.2 and 2.4.3 (not fixed)
davidstosik opened this issue 9 months ago
davidstosik opened this issue 9 months ago
Add IncludesExactly matcher
mohammednasser-32 opened this pull request 10 months ago
mohammednasser-32 opened this pull request 10 months ago
introduce #has_all parameter matcher
mohammednasser-32 opened this issue 10 months ago
mohammednasser-32 opened this issue 10 months ago
Fixes for Ruby v3.4
floehopper opened this pull request 12 months ago
floehopper opened this pull request 12 months ago
Fix jaro_winkler compilation errors on MacOS
floehopper opened this pull request 12 months ago
floehopper opened this pull request 12 months ago
Optional hash parameters are now required in `.expects.with`
myprivatealaska opened this issue 12 months ago
myprivatealaska opened this issue 12 months ago
Add frozen_string_literal to mockery
radville opened this pull request 12 months ago
radville opened this pull request 12 months ago
Add failing test for #667
cpjmcquillan opened this pull request about 1 year ago
cpjmcquillan opened this pull request about 1 year ago
Expectations with extra arguments are now "unexpected invocations"
cpjmcquillan opened this issue about 1 year ago
cpjmcquillan opened this issue about 1 year ago
Add metadata to gemspec, including changelog_uri
floehopper opened this pull request about 1 year ago
floehopper opened this pull request about 1 year ago
Add metadata to gemspec, including changelog_uri
mattbrictson opened this pull request about 1 year ago
mattbrictson opened this pull request about 1 year ago
Fix regression when stubbed method expects Hash but receives ActionController::Parameters object
floehopper opened this pull request about 1 year ago
floehopper opened this pull request about 1 year ago
Fix regression when stubbed method invoked with no arguments
floehopper opened this pull request about 1 year ago
floehopper opened this pull request about 1 year ago
Regression after upgrading to `2.4.3`
vlad-pisanov opened this issue about 1 year ago
vlad-pisanov opened this issue about 1 year ago
Rename variables & parameters in matchers to use `actual` & `expected`
floehopper opened this issue about 1 year ago
floehopper opened this issue about 1 year ago
Fix regression when matching Hash parameter
floehopper opened this pull request about 1 year ago
floehopper opened this pull request about 1 year ago
Update positional_or_keyword_hash.rb
floehopper opened this pull request about 1 year ago
floehopper opened this pull request about 1 year ago
Update positional_or_keyword_hash.rb
floehopper opened this pull request about 1 year ago
floehopper opened this pull request about 1 year ago