Page 3, found in 52 ms
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.ValuePatch.Mock.Value — patch v0.16.1
More about patch.hexdocs.pm
… 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 …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › readmePatch — patch v0.16.1
More about patch.hexdocs.pm
… 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 …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › PatchPatch — patch v0.16.1
More about patch.hexdocs.pm
… 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 …
-
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 › 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 › api-referenceAPI Reference — patch v0.16.1
More about patch.hexdocs.pm
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 …
-
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 …
Search for “Source Code site:patch.hexdocs.pm” on Google, or add !ddg, !w and other shortcuts to any search.