@josevalim Thanks for the quick response, that was very helpful! I'm surprised Hound's README doesn't have a link to it. However, I'm still struggling to get this to work the way I think it should be.
I've got two tests, and when ran individually, they take ~15 seconds each (or ~30 seconds with
mix test --only integration). After I added
async: true I can see two Chrome browsers starting off, but strangely the total time with the async options and changes is still ~30 seconds, same as before, which seems wrong.
How could this be, is there something I'm missing? I followed the guide in the link carefully, and only made 1 change in the
setup of my
IntegrationCase file, due to an error:
defmodule MyApp.Web.IntegrationCase do
:ok = Ecto.Adapters.SQL.Sandbox.checkout(MyApp.Repo)
metadata = Phoenix.Ecto.SQL.Sandbox.metadata_for(MyApp.Repo, self())
# Added :ok since `start_session/2` returns a string.