Created
August 17, 2022 13:00
-
-
Save mraaroncruz/d272df8b472e86b26876367518070a5d to your computer and use it in GitHub Desktop.
ExUnit.run()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ExUnit.start(auto_run: false) | |
defmodule CalculatorTest do | |
use ExUnit.Case, async: false | |
describe "Testing the addition function" do | |
test "2 plus 3 is 5" do | |
assert 2 + 2 == 5 | |
end | |
end | |
end | |
ExUnit.run() | |
IO.inspect({__ENV__, __ENV__.context_modules}, label: "__ENV__, context_modules") | |
CalculatorTest.__ex_unit__() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment