0.8.12 (2018-08-08)
Fixed bugs:
- History item is not kept while module compiler is running #194
0.8.11 (2018-07-12)
Merged pull requests:
- OTP 21 compatibility when using stack traces #193 (massemanet)
0.8.10 (2018-06-26)
Merged pull requests:
- Test meck on travis-ci with Erlang/OTP 21.0 #190 (michalwski)
- Add meck:expects/1,2 #187 (elbrujohalcon)
0.8.9 (2017-11-27)
Closed issues:
- Meck doesn't support modules built with '+deterministic' compile option #184
- How do I run coverage results after using meck? #181
- Migrate to Rebar 3 and rebar3_hex #155
Merged pull requests:
- Support running meck with modules built with '+deterministic' compile… #185 (nablaa)
- Fix for Rebar 2.x.y on secondary arches #183 (lemenkov)
0.8.8 (2017-08-29)
Closed issues:
{:error, {:no\_abstract\_code, ...}}
with Elixir 1.5.0-rc.0 and Erlang 20.0 #179
Merged pull requests:
0.8.7 (2017-06-29)
Closed issues:
- Remove dialyzer attributes when creating mock (Erlang 20.0) #178
0.8.6 (2017-06-28)
0.8.5 (2017-06-28)
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)
Implemented enhancements:
Fixed bugs:
- FIX: optional_callbacks #151 (soranoba)
- Fix race condition between meck:unload/1 and calls to the mocked module #150 (dszoboszlay)
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)
Implemented enhancements:
- Update meck for OTP 18.0 #139 (gomoripeti)
- Allow hiding 'on_load' attribute. #131 (rlipscombe)
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:
- Fix typo #143 (derek121)
- Run tests in travis #138 (gomoripeti)
- Fix variable exported from case #128 (hazardfn)
0.8.2 (2014-05-05)
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:
Merged pull requests:
0.8.1 (2013-08-29)
Fixed bugs:
0.8 (2013-08-17)
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 a
ret_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:
Merged pull requests:
- Fix failing build. #98 (cmeiklejohn)
- fix path of rebar #69 (yamt)
0.7.2 (2012-05-06)
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)
Fixed bugs:
- Can I call original function with different arguments? #30
0.7 (2011-07-13)
Implemented enhancements:
- Enable mocking of sticky modules (not used by code_server) #29 (xenolinguist)
0.6.3 (2011-06-30)
Implemented enhancements:
- Interface inconsistency #8
Fixed bugs:
- Interface inconsistency #8
0.6.2 (2011-06-09)
0.6.1 (2011-06-08)
Implemented enhancements:
- use localhost for remote test rather than hostname #27 (joewilliams)
Fixed bugs:
- Makefile requires local rebar and documentation says rebar on path #28
0.6 (2011-05-25)
0.5.1 (2011-05-23)
0.5 (2011-04-12)
Implemented enhancements:
Closed issues:
- dialyzer unmatched return errors #24
* This Change Log was automatically generated by github_changelog_generator