Is there a way to tell rebar not to run eunit tests for the dependencies?

StackOverflow https://stackoverflow.com/questions/7009316

  •  19-12-2020
  •  | 
  •  

Pergunta

When running:

./rebar eunit

the tests are run also for the external dependencies. Is there a way to change this behaviour? Maybe through the rebar.config file?

Foi útil?

Solução

./rebar eunit skip_deps=true

(or recursive=false with latest versions).

Outras dicas

You also can also use

./rebar eunit apps=your_app1,your_app2

This will run eunit test only for the specified applications.

There is also an option to run tests only for specific application:

./rebar eunit app=app_name
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top