You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Weverton do Couto Timoteo edited this page Jun 4, 2020
·
2 revisions
Se tudo é imutável no Elixir e levando em consideração o parágrafo a seguir:
Furthermore, because mocks like the one above change modules globally, they are particularly aggravating in Elixir as changing global values means you can no longer run that part of your test suite concurrently.
http://blog.plataformatec.com.br/2015/10/mocks-and-explicit-contracts/
Os processos deveriam ser isolados, nesse caso acima, o comportamento/mock global é vazado? Como diferenciar o que é global e o que não é?