github.com/freerange/mocha
A mocking and stubbing library for Ruby
https://github.com/freerange/mocha
Error on `expects.with` with empty hash argument
josesei opened this issue about 1 year ago
josesei opened this issue about 1 year ago
Don't trust `Object#is_a?` in presence of Mocks
casperisfine opened this pull request about 1 year ago
casperisfine opened this pull request about 1 year ago
Fix regression in ParameterMatchers#has_entry, etc
floehopper opened this pull request about 1 year ago
floehopper opened this pull request about 1 year ago
Since #648 `has_entry` no longer matches by exact value
ElvinEfendi opened this issue about 1 year ago
ElvinEfendi opened this issue about 1 year ago
A "targeted" version of #any_instance
brandoncc opened this issue about 1 year ago
brandoncc opened this issue about 1 year ago
Improve rendering of keyword arguments
floehopper opened this pull request about 1 year ago
floehopper opened this pull request about 1 year ago
Consider using Ruby v1.9 hash syntax in `Hash#mocha_inspect`
floehopper opened this issue about 1 year ago
floehopper opened this issue about 1 year ago
Improvements to `#mocha_inspect` unit tests
floehopper opened this pull request about 1 year ago
floehopper opened this pull request about 1 year ago
Improve rendering of keyword arguments
casperisfine opened this pull request about 1 year ago
casperisfine opened this pull request about 1 year ago
Fix nested parameter matching for keyword arguments
floehopper opened this pull request about 1 year ago
floehopper opened this pull request about 1 year ago
Parameter matching fails on keyword arguments
CodingAnarchy opened this issue about 1 year ago
CodingAnarchy opened this issue about 1 year ago
Better error message if `Mockery.teardown` is called when `Mockery.setup` has not been called successfully
floehopper opened this issue about 1 year ago
floehopper opened this issue about 1 year ago
undefined method `sequences'
tim-wovn opened this issue over 1 year ago
tim-wovn opened this issue over 1 year ago
Include the original test name in expired stub error messages
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
Drop support for Ruby v2.0
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
Fix Circle CI builds for Ruby v2.0 or discontinue support
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Include the original test name in expired stub error messages
casperisfine opened this pull request over 1 year ago
casperisfine opened this pull request over 1 year ago
Run CI build with `--enable-frozen-string-literal` Ruby command line option
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Mocha and Rails 7.0+ and controller tests
zenspider opened this issue over 1 year ago
zenspider opened this issue over 1 year ago
Consider using GitHub-flavoured markdown notes, warnings, etc in README
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Stubbed methods not cleaned up post spec completion
Bennet-Sunder opened this issue over 1 year ago
Bennet-Sunder opened this issue over 1 year ago
Add Ruby v3.3 to CI build matrix
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
Sign releases
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Sign releases
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
sometimes method fails to be mocked
akostadinov opened this issue over 1 year ago
akostadinov opened this issue over 1 year ago
sometimes method fails to be mocked
akostadinov opened this issue over 1 year ago
akostadinov opened this issue over 1 year ago
Improve failure message for invocations received in the wrong order
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
Improve failure message
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Improve failure message
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Add block syntax for sequences
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
Document some of the history of Mocha
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Use Ruby v1.9 Hash syntax in docs
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
Use Ruby v1.9 Hash syntax in docs
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
Drop support for Ruby v2.1
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Drop support for Ruby v2.1
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Drop support for Ruby v2.0
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Drop support for Ruby v2.0
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Tidy up Minitest vs MiniTest references
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
Tidy up Minitest vs MiniTest references
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
Update Ruby Hash syntax in docs
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Update Ruby Hash syntax in docs
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Avoid rubocop directive ending up in YARD docs
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
Avoid rubocop directive ending up in YARD docs
floehopper opened this pull request over 1 year ago
floehopper opened this pull request over 1 year ago
YARD docs for Mock#method_missing is broken
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
YARD docs for Mock#method_missing is broken
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Add docs about issues & workarounds for using Mocha with BasicObject & the various Delegator classes
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Add docs about issues & workarounds for using Mocha with BasicObject & the various Delegator classes
floehopper opened this issue over 1 year ago
floehopper opened this issue over 1 year ago
Stubs on instances of DelegateClass do not behave as expected
philipchan-shopify opened this issue over 1 year ago
philipchan-shopify opened this issue over 1 year ago
Stubs on instances of DelegateClass do not behave as expected
philipchan-shopify opened this issue over 1 year ago
philipchan-shopify opened this issue over 1 year ago
Mocha::StateMachine states method stomps on states fixture
DBugger32 opened this issue almost 2 years ago
DBugger32 opened this issue almost 2 years ago
Mocha::StateMachine states method stomps on states fixture
DBugger32 opened this issue almost 2 years ago
DBugger32 opened this issue almost 2 years ago
Stub by id
nhorton opened this issue almost 2 years ago
nhorton opened this issue almost 2 years ago
Stub by id
nhorton opened this issue almost 2 years ago
nhorton opened this issue almost 2 years ago
Unstub in the `then` clause
nhorton opened this issue almost 2 years ago
nhorton opened this issue almost 2 years ago
Unstub in the `then` clause
nhorton opened this issue almost 2 years ago
nhorton opened this issue almost 2 years ago
Consider adding an option to disable backtrack filtering
floehopper opened this issue almost 2 years ago
floehopper opened this issue almost 2 years ago
Consider adding a configuration option to disable backtrack filtering
floehopper opened this issue almost 2 years ago
floehopper opened this issue almost 2 years ago
Replace references to `MiniTest` with `Minitest` and generally tidy this stuff up
floehopper opened this issue about 2 years ago
floehopper opened this issue about 2 years ago
Replace references to `MiniTest` with `Minitest` and generally tidy this stuff up
floehopper opened this issue about 2 years ago
floehopper opened this issue about 2 years ago
WIP: First stab at addressing #614
floehopper opened this pull request about 2 years ago
floehopper opened this pull request about 2 years ago
WIP: First stab at addressing #614
floehopper opened this pull request about 2 years ago
floehopper opened this pull request about 2 years ago
Mocha is incompatible with minitest v5.19 and later
kyrofa opened this issue about 2 years ago
kyrofa opened this issue about 2 years ago
Mocha is incompatible with minitest v5.19 and later
kyrofa opened this issue about 2 years ago
kyrofa opened this issue about 2 years ago
Config option for blocking mocks/stubs on specific methods or classes
amomchilov opened this issue about 2 years ago
amomchilov opened this issue about 2 years ago
Config option for blocking mocks/stubs on specific methods or classes
amomchilov opened this issue about 2 years ago
amomchilov opened this issue about 2 years ago
Remove Google Analytics tracking code
floehopper opened this pull request about 2 years ago
floehopper opened this pull request about 2 years ago
Upgraded from 1.0 to 2.0.
riniculous opened this issue about 2 years ago
riniculous opened this issue about 2 years ago
Add sitemap to docs site to reduce crawl errors
floehopper opened this issue about 2 years ago
floehopper opened this issue about 2 years ago
Unpin yard gem when ArgumentException is resolved
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Unpin yard gem when ArgumentException is resolved
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Consider setting changelog_uri in gemspec
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Consider setting changelog_uri in gemspec
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Consider adding ALTERNATIVES.md
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Consider adding ALTERNATIVES.md
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
`with(...) { ... }` should match both given args and block, or reject both
sambostock opened this issue over 2 years ago
sambostock opened this issue over 2 years ago
Fix strict kwargs matching when method doesn't accept kwargs
floehopper opened this pull request over 2 years ago
floehopper opened this pull request over 2 years ago
Un-pin JRuby in CircleCI builds
floehopper opened this pull request over 2 years ago
floehopper opened this pull request over 2 years ago
Rubocop: enable Style/FormatStringToken cop
herwinw opened this pull request over 2 years ago
herwinw opened this pull request over 2 years ago
Consider using git-cliff to generate changelog
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Consider using git-cliff to generate changelog
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Add Ruby v3.2 to CircleCI build
floehopper opened this pull request over 2 years ago
floehopper opened this pull request over 2 years ago
Simplify storage of MOCHA_OPTIONS
floehopper opened this pull request over 2 years ago
floehopper opened this pull request over 2 years ago
Simplify storage of MOCHA_OPTIONS
floehopper opened this pull request over 2 years ago
floehopper opened this pull request over 2 years ago
Rubocop: resolve Style/EachWithObject
herwinw opened this pull request over 2 years ago
herwinw opened this pull request over 2 years ago
Use Ruby 1.9 hash syntax
herwinw opened this pull request over 2 years ago
herwinw opened this pull request over 2 years ago
Consider running OpenSSF Scorecard against repo
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Consider providing type information via *.rbs and/or *.rbi files
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Consider providing type information via *.rbs and/or *.rbi files
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Consider expanding ParameterMatchers#optionally to allow optional keywords arguments
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Consider expanding ParameterMatchers#optionally to allow optional keywords arguments
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Expectations with String keys misidentified as keyword arguments
seandilda opened this issue over 2 years ago
seandilda opened this issue over 2 years ago
strict_keyword_argument_matching warning when ruby turns keyword arguments into a positional hash
seandilda opened this issue over 2 years ago
seandilda opened this issue over 2 years ago
Fix BacktraceFilter to handle special characters
casperisfine opened this pull request over 2 years ago
casperisfine opened this pull request over 2 years ago
Possible regression in JRuby v9.4.0.0 relating to keyword arguments
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
Possible regression in JRuby v9.4.0.0 relating to keyword arguments
floehopper opened this issue over 2 years ago
floehopper opened this issue over 2 years ago
rake test fails with ruby 3.2.0preview3
mtasaka opened this issue over 2 years ago
mtasaka opened this issue over 2 years ago
rake test fails with ruby 3.2.0preview3
mtasaka opened this issue over 2 years ago
mtasaka opened this issue over 2 years ago
BasicObjects do not have mocha ObjectMethods
wasabigeek opened this issue over 2 years ago
wasabigeek opened this issue over 2 years ago
BasicObjects do not have mocha ObjectMethods
wasabigeek opened this issue over 2 years ago
wasabigeek opened this issue over 2 years ago
Mocking a call with empty keyword arguments fails its parameter validation
herwinw opened this issue over 2 years ago
herwinw opened this issue over 2 years ago