Last active
October 25, 2017 23:50
-
-
Save phuochau/39e78cacfefb41db5546b83238003a46 to your computer and use it in GitHub Desktop.
Load .ex module in unit testing in Elixir
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() | |
Ecto.Adapters.SQL.Sandbox.mode(Sharing.Repo, :manual) | |
## load helpers, support | |
Code.load_file("test/case/ecto.ex") | |
Code.load_file("test/support/absinthe_helper.ex") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment