Page 2, found in 89 ms
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › 03-mock-valuesChapter 3: Mock Values — patch v0.16.1
More about patch.hexdocs.pm
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 …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.Rer…Patch.Mock.Code.Transforms.Reroute — patch v0.16.1
More about patch.hexdocs.pm
… 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 …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.UnitPatch.Mock.Code.Unit — patch v0.16.1
More about patch.hexdocs.pm
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 …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.QueryPatch.Mock.Code.Query — patch v0.16.1
More about patch.hexdocs.pm
… 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
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › super-powersSuper Powers — patch v0.16.1
More about patch.hexdocs.pm
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 …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › 05-processesChapter 5: Processes — patch v0.16.1
More about patch.hexdocs.pm
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 …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › changelogChange Log — patch v0.16.1
More about patch.hexdocs.pm
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 …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.Fil…Patch.Mock.Code.Transforms.Filter — patch v0.16.1
More about patch.hexdocs.pm
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 …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.Ren…Patch.Mock.Code.Transforms.Rename — patch v0.16.1
More about patch.hexdocs.pm
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 …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.Exp…Patch.Mock.Code.Transforms.Export — patch v0.16.1
More about patch.hexdocs.pm
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 …
Search for “Source Code site:patch.hexdocs.pm” on Google, or add !ddg, !w and other shortcuts to any search.