Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UndefinedFunctionError on test modules #21

Closed
dflima opened this issue Sep 29, 2020 · 0 comments · Fixed by #22
Closed

UndefinedFunctionError on test modules #21

dflima opened this issue Sep 29, 2020 · 0 comments · Fixed by #22

Comments

@dflima
Copy link
Contributor

dflima commented Sep 29, 2020

There are some modules on test/support that are not being compiled when running mix test.

➜  jenkiexs git:(master) ✗ mix test
Compiling 7 files (.ex)
Generated jenkiexs app
** (UndefinedFunctionError) function Jenkiexs.MockServer.start/0 is undefined (module Jenkiexs.MockServer is not available)
    Jenkiexs.MockServer.start()
    test/test_helper.exs:1: (file)
    (elixir) lib/code.ex:813: Code.require_file/2

We should add the elixirc_paths attribute on the Jenkiexs.MixProject.project/0 function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant