On Tuesday, October 25, 2016 at 4:10:35 PM UTC+3, [email protected] wrote:
>
>
>
> On Tuesday, October 25, 2016 at 4:06:33 PM UTC+3, Michał Muskała wrote:
>>
>> You can achieve the first thing by defining an alias in mix.exs (like 
>> below), but I agree a config in ExUnit for this could make it more 
>> convenient. 
>>
>> aliases: ["test": "test --no-start"] 
>>
>
> Ahh, cool. But still looks like a hack :) And I want this to work with 
> test.watch :) I do not care that much about 'mix test' task by itself :)
>  
>

Basically it is not possible to prevent app start from ExUnit test_helper, 
because it is run after app is started. but it is possible just to stop it 
there with 
':application.stop :app_name' which may be reasonable workaround

Regards,
Gaspar


 

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/abcf6eb0-46e8-4c5f-b84d-bc898afec4b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to