meck v0.8.5 Release Notes

Release Date: 2017-06-28 // almost 7 years ago
  • 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 (WramblinWreck)
    • ➕ 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)