I’m looking at the code for mix phx.gen.auth
and I’ve seen that only part of the test files generated use async: true
. For example, ConfirmationControllerTest uses async: true
if the Ecto adapter is set to Postgres but the SettingsLiveTest suite does not use async. Why is this the case?
In a simple demo app, I’ve ran this Mix Task and tagged all of the test suites with async: true
and even after hundreds of runs, I see no failures. I assume there’s some reason these specific suites are not marked to be run asynchronously so I’d like to understand.
Thanks