Page 3, found in 74 ms

  1. patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Value
    More about patch.hexdocs.pm
    Patch.Mock.Value — patch v0.16.1

    … this type t() View Source @type t() :: Patch.Mock.Values.Callable.t () | Patch.Mock.Values.CallableStack.t () | Patch.Mock.Values.Cycle.t () | Patch.Mock.Values.Raises.t () | Patch.Mock.Values.Scalar.t () | Patch.Mock.Values.Sequence.t () | Patch.Mock.Values.Throws.t () | term () Functions Link to this function advance(value) View Source @spec advance(value :: t ()) :: t () Advances the given value …

    0 points
  2. patch.hexdocs.pmhttps://patch.hexdocs.pm › readme
    More about patch.hexdocs.pm
    Patch — patch v0.16.1

    … with Processes. No testing code in non-test code. In addition to these features which many libraries aspire to, Patch has 3 additional features that no other mocking library for Elixir / Erlang …

    0 points
  3. patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch
    More about patch.hexdocs.pm
    Patch — patch v0.16.1

    … literals in the test code. If they are literals then assert_any_call/1 should be preferred. Link to this macro assert_called(call) View Source (macro) @spec assert_called( Macro.t ()) :: Macro.t …

    0 points
  4. patch.hexdocs.pmhttps://patch.hexdocs.pm › super-powers
    More about patch.hexdocs.pm
    Super Powers — patch v0.16.1

    View Source Super Powers Patch provides unique features that no other mocking library for Elixir offers. See the Mockompare suite for a comparison of Elixir / Erlang mocking libraries. If there is a …

    0 points
  5. patch.hexdocs.pmhttps://patch.hexdocs.pm › 05-processes
    More about patch.hexdocs.pm
    Chapter 5: Processes — patch v0.16.1

    View Source Chapter 5: Processes Elixir code frequently runs many processes and a test author often wants to assert about the flow of messages between processes. Patch provides some utilities that make …

    0 points
  6. patch.hexdocs.pmhttps://patch.hexdocs.pm › 03-mock-values
    More about patch.hexdocs.pm
    Chapter 3: Mock Values — patch v0.16.1

    View Source Chapter 3: Mock Values In Chapter 2: Patching we covered two kinds of mock values, Callables and Scalars. There are 5 other kinds of mock values available for use in …

    0 points
  7. patch.hexdocs.pmhttps://patch.hexdocs.pm › api-reference
    More about patch.hexdocs.pm
    API Reference — patch v0.16.1

    View Source API Reference patch v0.16.1 Modules Patch Patch - Ergonomic Mocking for Elixir Patch.Access Patch.Apply Utility module to assist with applying functions. Patch.Assertions Patch.Case Patch.ConfigurationError Patch.Importer Patch.InvalidAnyCall Patch.Listener Patch.Listener.Supervisor Patch.Macro Patch.MissingCall Patch.Mock …

    0 points
  8. patch.hexdocs.pmhttps://patch.hexdocs.pm › changelog
    More about patch.hexdocs.pm
    Change Log — patch v0.16.1

    View Source Change Log 0.16.1 (2026-10-22) Bugfix inspired by Deven Wen who reported a bug where patch would incorrectly handle callable stacks in OTP 28+. Bugfixes 🐞 - Fixed a bug when …

    0 points

Search for “source code site:patch.hexdocs.pm” on Google, or add !ddg, !w and other shortcuts to any search.