Mocking and Dependency Injection in Elixir Tests: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

3 December 2023

  • curprev 14:2814:28, 3 December 2023Elixirfan talk contribs 3,894 bytes +3,894 Created page with "== Mocking and Dependency Injection in Elixir Tests == Dependency injection is a powerful technique in software development that facilitates easier testing and decouples components, enhancing maintainability and code reusability. In Elixir, a functional programming language, dependency injection can be achieved using mocking libraries such as Mox. === Why Mocking? === Mocking allows us to isolate the code under test and replace its dependencies with controlled test do..."