How to Test Shared Behavior in ElixirImplementing functionality similar to RSpec’s shared examples
Create a new mix project if you want to follow along: $ mix new calculator $ cd calculator Suppose you have a Calculator module and …