Change Log

0.8.7 (2017-06-29)

Full Changelog

Closed issues:

  • Remove dialyzer attributes when creating mock (Erlang 20.0) #178

0.8.6 (2017-06-28)

Full Changelog

0.8.5 (2017-06-28)

Full Changelog

Implemented enhancements:

  • Add meck:get_state/0, meck:reset_state/0 #125
  • Deprecate history and provide history digging functions instead #85
  • Mock a module only from the perspective of a specific module #34
  • meck:app #16
  • Mock a module only from the perspective of a specific caller (calling process) #3
  • Add 19.2 to versions tested by TravisCI #168 (RackerJohnMadrid)
  • Add `meck:result/4-5' that returns the result value of a particular function #163 (amutake)
  • fix #88 #162 (yutopp)

Fixed bugs:

  • breaks on R20 #175
  • Mocked module will return empty function clause error #167
  • Deleting an expectation in passthrough mode does not restore original function #88
  • Passthrough crashes without +debug_info #14
  • fix behavio(u)r attributes validation on Erlang R20 #176 (RoadRunnr)
  • Fix errors in capture/5, capture/6 documentation #172 (marco-m)
  • Fix eunit compile failure on Erlang 17+ (hamcrest) #161 (marco-m)

0.8.4 (2015-12-29)

Full Changelog

Implemented enhancements:

Fixed bugs:

Merged pull requests:

  • Update ‘problematic modules list’ #156 (lilrooness)
  • Document the caveat with mocking module-local calls. #145 (bpuzon)

0.8.3 (2015-06-09)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Please document that modules can be not meck'able #135
  • crypto module #59
  • Removed test and doc from target all in Makefile #126 (jfacorro)

Merged pull requests:

0.8.2 (2014-05-05)

Full Changelog

Implemented enhancements:

  • Implicit new #80
  • Should return compilation errors #33
  • Allow meck to build under Erlang 17.0-rc2 and Erlang R16B03-1 #118 (myers)

Fixed bugs:

  • Put non-strict option in the README.md #117
  • With a bogus test instantiator, meck fails with {error, enoent} in meck_cover:read_cover_file/1 #114
  • Unable to mock lists module #87
  • Do not consider a 3-tuple return value as an exception #113 (lucafavatella)

Closed issues:

  • Split tests into several test suites #83
  • Better documentation #79
  • Use right function in exceptions #26

Merged pull requests:

  • Add Erlang 17.0 to the test matrix #122 (myers)

0.8.1 (2013-08-29)

Full Changelog

Fixed bugs:

0.8 (2013-08-17)

Full Changelog

Implemented enhancements:

  • Warning from reltool on unexpected item build\_dependencies #92
  • Capture argument #86
  • Wait for a number of function calls #81
  • Mocking of parameterized modules #4
  • Allow calling original function from within expect fun #2
  • Make remote_setup more robust #109 (i11)
  • Implement ‘implicit new’ feature #80 #104 (horkhe)
  • Fix warning in R16B #100 (rufrozen)
  • Wait for a number of calls feature (#81) #99 (horkhe)
  • Feature/capture #97 (horkhe)
  • Make undefined\_module error contain module name #96 (horkhe)
  • (Cont.) Make passthrough/1' and func/1into aret_spec`and func #91 (horkhe)
  • Introduce support for matchers: #89 (horkhe)
  • Feature/file bif passthrough #84 (horkhe)
  • Refactor meck into smaller functional modules #82 (horkhe)
  • Two new options for meck #77 (norton)
  • Feature/honest mocks #75 (horkhe)
  • Feature/new exception syntax #74 (horkhe)
  • Extended expect syntax and more #73 (horkhe)
  • Introduce ‘stub_all’ option #78 (horkhe)
  • Support for location included in stack traces in Erlang R15 #52 (bjnortier)

Fixed bugs:

  • http://eproxus.github.io/meck 404 #103
  • R16A preview - parameterized modules are no longer supported #94
  • meck eunit tests fail on R15B #51
  • meck:new fails if running in embedded mode and module not loaded #35
  • Support meck:expect with improper list mock data #102 (adbl)
  • Remove unsupported option from the app.src file #101 (amiramix)
  • Remove parametrized module test #95 (norton)

Closed issues:

  • Add helper function to mock modules #53
  • Move examples to wiki #10
  • Write tutorial #9

Merged pull requests:

0.7.2 (2012-05-06)

Full Changelog

Implemented enhancements:

  • Mocking of sticky modules #7
  • Rz passthrough cover #56 (rzezeski)
  • Mock parametrized modules #55 (shino)
  • Clean test directory #50 (norton)
  • New features - pid in history and count_calls and wildcard_count_calls functions #40 (daha)
  • Include meck:new/2 arguments in errors #39 (legoscia)
  • .travis.yml config without rebar #38 (wardbekker)
  • Filter out parse_transforms from compilation options #32 (djnym)

Fixed bugs:

  • dialyzer warnings with meck (73c0b3e) #58
  • Inconsistency in documentation #49
  • meck:unload/0 sometimes crashes #48
  • Add test/cover_test_module.beam to rebar.config's clean files #47
  • Fix typo in no_passthrough_cover atom #62 (garret-smith)

Merged pull requests:

  • remove repetition; typo #57 (Erkan-Yilmaz)
  • Update list of OTP releases in .travis.yml #54 (michaelklishin)
  • Remove IDE project artifacts #46 (xenolinguist)
  • Making all the test funs in the foreach in meck_test_/0 fully qualified funs #44 (daha)
  • Improved tests: Added an ok in the end of the tests that use a helper function with asserts #43 (daha)
  • Verify history/2 returns events in the correct order & fix to flaky history_by_pid_/1 test #42 (daha)

0.7.1 (2011-07-18)

Full Changelog

Fixed bugs:

  • Can I call original function with different arguments? #30

0.7 (2011-07-13)

Full Changelog

Implemented enhancements:

  • Enable mocking of sticky modules (not used by code_server) #29 (xenolinguist)

0.6.3 (2011-06-30)

Full Changelog

Implemented enhancements:

  • Interface inconsistency #8

Fixed bugs:

  • Interface inconsistency #8

0.6.2 (2011-06-09)

Full Changelog

0.6.1 (2011-06-08)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Makefile requires local rebar and documentation says rebar on path #28

0.6 (2011-05-25)

Full Changelog

0.5.1 (2011-05-23)

Full Changelog

0.5 (2011-04-12)

Implemented enhancements:

  • Add meck:received/3 API for easier history checking #23 (mbbx6spp)

Closed issues:

  • dialyzer unmatched return errors #24

* This Change Log was automatically generated by github_changelog_generator