Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 10
  1. Master Phoenix controller testing with ConnCase, JSON API testing, authentication helpers, and CRUD endpoint patterns.

  2. Organize Elixir tests with reusable helpers: StubHelper for mocks, AssertHelper for domain assertions, and SetupHelper for composable setup patterns.

  3. Master the complete adapter pattern in Elixir: build behavior-based facades, organize stub variants, and test time-dependent logic with clock abstractions.

  4. Master compile-time safe mocking with Mox: define contracts with @callback, swap implementations seamlessly, and verify interactions with expect/3 and stub/3.

  5. Master test data creation with ExMachina factories and Faker: build vs insert, sequences for uniqueness, factory variants with struct!

  6. Master database test isolation with Ecto.Sandbox: run hundreds of parallel tests without conflicts using transaction-based isolation and automatic rollback.

  7. Learn ExUnit fundamentals with real examples: describe blocks, setup callbacks, assertions, pattern matching, and test organization.

  8. Bet on Elixir

    Recap of my Elixir talk at Mumbai's first-ever Global Elixir Meetup with 4 interactive LiveView demos showcasing concurrency and fault tolerance.

  9. How I publish multiple websites from a single Obsidian vault using Quartz with tag-based selective publishing.

  10. Setting up Elixir with Nix

    Setting up Elixir dev environment with Nix Prerequisites nix - Follow this guide to install nix in your system direnv - helps to initialize nix on the shell when you cd into the project directory TLDR Fork rakshans1/elixir-starter by clicking on Use this…