#elixir #unit_test_tools #testing #functional_programming
Exunit.case.register_attribute/3 for smart test examples in our unit tests π
https://medium.com/elixir-bytes/exunit-case-register-attribute-3-for-smart-test-examples-in-our-unit-tests-615e64b90f1
Exunit.case.register_attribute/3 for smart test examples in our unit tests π
https://medium.com/elixir-bytes/exunit-case-register-attribute-3-for-smart-test-examples-in-our-unit-tests-615e64b90f1
Medium
ExUnit.Case.register_attribute/3 for smart test examples in our unit tests π
From time to time, coding Elixir ExUnit test cases may be tedious because we may need to repeat some code. For example, we are testingβ¦
#testing #clojure #elixir
Property-based testing: from erlang/elixir to clojure
https://dev.to/shaolang/property-based-testing-from-erlang-elixir-to-clojure-57nm
Property-based testing: from erlang/elixir to clojure
https://dev.to/shaolang/property-based-testing-from-erlang-elixir-to-clojure-57nm
DEV Community
Property-Based Testing: From Erlang/Elixir to Clojure
Reading Property-Based Testing with PropEr, Erlang, and Elixir and following along the examples helpe...
#testing #elixir
Mocking and faking external dependencies in elixir tests
https://robots.thoughtbot.com/blog/mocking-and-faking-external-dependencies-in-elixir-tests
Mocking and faking external dependencies in elixir tests
https://robots.thoughtbot.com/blog/mocking-and-faking-external-dependencies-in-elixir-tests
thoughtbot
Mocking and faking external dependencies in elixir tests
Explore a combination of mocking, faking, and dependency injection to focus on the code being tested.
#elixir #testing
Clean and reusable test helpers with elixir macros
https://dev.to/unnawut/clean-and-reusable-test-helpers-with-elixir-macros-26e5
Clean and reusable test helpers with elixir macros
https://dev.to/unnawut/clean-and-reusable-test-helpers-with-elixir-macros-26e5
DEV Community
Clean and reusable test helpers with Elixir macros
Sometimes, seemingly redundant tests could serve as an assurance that our code works. While it's poss...
#elixir #testing #mock #compare
Mocking in elixir: comparison between mox, mockery, mimic, syringe, and lightweight di
https://dev.to/calvinsadewa/mocking-in-elixir-comparison-between-mox-mockery-mimic-syringe-and-lightweight-di-3d5h
Mocking in elixir: comparison between mox, mockery, mimic, syringe, and lightweight di
https://dev.to/calvinsadewa/mocking-in-elixir-comparison-between-mox-mockery-mimic-syringe-and-lightweight-di-3d5h
DEV Community
Mocking in Elixir: Comparison between Mox, Mockery, Mimic, Syringe, and Lightweight DI
Unit test in elixir is fantastic using ExUnit! It is simple and easy! However sometimes we need to te...
#elixir #testing #tdd
Property-based test-driven development in elixir
https://dev.to/woylie/property-based-test-driven-development-in-elixir-4j0n
Property-based test-driven development in elixir
https://dev.to/woylie/property-based-test-driven-development-in-elixir-4j0n
DEV Community
Property-Based Test-Driven Development in Elixir
Recently I came across a small function in our code base that was meant to transform a list of arbitr...