Question

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?

Was it helpful?

Solution

./rebar eunit skip_deps=true

(or recursive=false with latest versions).

OTHER TIPS

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top