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

eunit issue when overriding test profile of an application #1477

Closed
benoitc opened this issue Feb 10, 2017 · 4 comments
Closed

eunit issue when overriding test profile of an application #1477

benoitc opened this issue Feb 10, 2017 · 4 comments

Comments

@benoitc
Copy link
Contributor

benoitc commented Feb 10, 2017

I'm using latest rebar3 installed locally.

I'm trying to remove any deps in the test profile of an application in the apps/ folder by using overrides:

{profiles, [
  {test, [
    {overrides, [
      {override, myapp, [
        {profiles, [
          {test, [{deps, [
          ]}]}
        ]}
      ]}
    ]}
  ]}
 ]}.

but then I get the following issue when running rebar3 eunit:

===> Error Running EUnit Tests:
  Module `myapp_SUITE' not found in project.

Looking a the display result of DEBUG=1, it seems eunit is launch on the root and not anymore in the application folder. Is there anyway to solve it?

benoitc added a commit to barrel-db/barrel-platform that referenced this issue Feb 20, 2017
fixing eunit tests by forcing the dir in barrel_httpc and overriding it in main rebar.config *sigh*.

See erlang/rebar3#1477 for more info about it.
benoitc added a commit to barrel-db/barrel-platform that referenced this issue Feb 20, 2017
fixing eunit tests by forcing the dir in barrel_httpc and overriding it in main rebar.config *sigh*.

See erlang/rebar3#1477 for more info about it.
BernardNotarianni pushed a commit to BernardNotarianni/barrel_httpc that referenced this issue Mar 2, 2017
fixing eunit tests by forcing the dir in barrel_httpc and overriding it in main rebar.config *sigh*.

See erlang/rebar3#1477 for more info about it.
@talentdeficit
Copy link
Contributor

i am not really sure what the issue is here? could you describe your project structure in a little more detail and how you're invoking eunit?

@benoitc
Copy link
Contributor Author

benoitc commented Mar 2, 2017

@talentdeficit just doing rebar3 eunit . For the repo have a look there:
https://github.com/barrel-db/barrel-platform

@ferd
Copy link
Collaborator

ferd commented Aug 13, 2017

This may have been fixed in #1606 but I'm not too sure about it.

@ferd
Copy link
Collaborator

ferd commented Feb 1, 2019

Heard no news in over a year, considering closed.

@ferd ferd closed this as completed Feb 1, 2019
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

No branches or pull requests

3 participants