Page 2, found in 89 ms

  1. 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
  2. patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.Rer…
    More about patch.hexdocs.pm
    Patch.Mock.Code.Transforms.Reroute — patch v0.16.1

    … remote calls to the source module into remote calls to the destination module. Functions Link to this function transform(abstract_forms, source, destination) View Source @spec transform( abstract_forms :: [ Patch.Mock.Code.form ()], source :: module …

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

    View Source Patch.Mock.Code.Unit (patch v0.16.1) Summary Types t() Functions purge(unit) restore(unit) Types Link to this type t() View Source @type t() :: %Patch.Mock.Code.Unit{ abstract_forms: [ Patch.Mock.Code.form ()], compiler_options: [ Patch.Mock.Code.compiler_option ()], module …

    0 points
  4. patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Query
    More about patch.hexdocs.pm
    Patch.Mock.Code.Query — patch v0.16.1

    … exports(abstract_forms) View Source See Patch.Mock.Code.Queries.Exports.query/1 . Link to this function functions(abstract_forms) View Source See Patch.Mock.Code.Queries.Functions.query/1

    0 points
  5. 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
  6. 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
  7. 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
  8. patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.Fil…
    More about patch.hexdocs.pm
    Patch.Mock.Code.Transforms.Filter — patch v0.16.1

    View Source Patch.Mock.Code.Transforms.Filter (patch v0.16.1) Filters the functions and specifications in a module to the exports provided. Summary Functions transform(abstract_forms, exports) Functions Link to this function transform(abstract_forms, exports) View …

    0 points
  9. patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.Ren…
    More about patch.hexdocs.pm
    Patch.Mock.Code.Transforms.Rename — patch v0.16.1

    View Source Patch.Mock.Code.Transforms.Rename (patch v0.16.1) Summary Functions transform(abstract_forms, module) Transforms the provided forms to rename the module to the provided module name. Functions Link to this function transform(abstract_forms, module …

    0 points
  10. patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.Exp…
    More about patch.hexdocs.pm
    Patch.Mock.Code.Transforms.Export — patch v0.16.1

    View Source Patch.Mock.Code.Transforms.Export (patch v0.16.1) Summary Functions transform(abstract_forms, exports) Transforms the provided forms to export the given list of functions. Functions Link to this function transform(abstract_forms, exports) View Source …

    0 points

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