All Versions
15
Latest Version
Avg Release Cycle
57 days
Latest Release
385 days ago

Changelog History
Page 1

  • v2.3.1

    October 10, 2019
    • ๐Ÿ›  Fixed issue preventing module attributes to be used in assert_called macros #34
  • v2.3.0

    October 22, 2018
    • ๐Ÿ‘ Allowed multiple mocks when using pipe operator or nested calls #27
    • ๐Ÿคก Deprecated Mockery.History.enable_history/1 in favor of Mockery.History.enable_history/0 and Mockery.History.disable_history/0
  • v2.2.0

    June 17, 2018
    • โž• Added Mockery.Macro.mockable/2 macro as alternative way to prepare module for mocking
    • ๐Ÿ—„ Deprecated Mockery.new/2
  • v2.1.0

    February 19, 2018
    • โž• Added Mockery.new/2
    • ๐Ÿ›  Fixed typo in error message #21
    • โœ‚ Removed support for Elixir 1.1 and 1.2
  • v2.0.2

    October 25, 2017
    • ๐Ÿ›  Fixed Mockery.of/2 typespecs
  • v2.0.1

    October 13, 2017
    • ๐Ÿคก When Mix is missing, Mockery.of/2 assumes that env is :prod
  • v2.0.0

    October 08, 2017
    • โœ‚ Removed Mockery.Heritage

      • Global mocks will be handled without macros by pure elixir modules.
      • Some new restrictions have been added for global mock modules (see global mock section in README)
    • ๐Ÿ”„ Changed Mockery.mock/3 when value is function (dynamic mock)

      • [function_name: arity] syntax remains unchanged
      • :function_name syntax will raise error
    • ๐Ÿ”„ Changed Mockery.of/2 output

      • run mix compile --force when upgrading from Mockery 1.x.x
  • v1.4.0

    October 02, 2017
    • ๐Ÿคก Mockery.mock/2 and Mockery.mock/3 are now chainable
  • v1.3.1

    September 21, 2017
    • ๐Ÿคก Minor format fix in Mockery.History failure messages
  • v1.3.0

    September 15, 2017
    • โž• Added string version for Mockery.of/2 (now recommended)
    • ๐Ÿ›  Fixed mocking of erlang modules