White-bread and hound

Hi, I’m developing a Phoenix app, and for some reasons I’m not able to make Hound and White Bread work together.

number13:owl ngw$ mix white_bread.run
loading features/contexts/default_context.exs
** (CompileError) features/contexts/default_context.exs:3: module Hound.Helpers is not loaded and could not be found

The context is very easy, I just use Hound.Helpers after I use WhiteBread.Context, nothing fancy. I have no white-bread configuration (first feature I write - really just setting up the system.

This is my test_helper.exs - I suppose it’s included by white-bread, right? (totally not sure about this).

Ecto.Adapters.SQL.Sandbox.mode(Owl.Repo, :manual)
{:ok, _} = Application.ensure_all_started(:ex_machina)

Can someone that managed to solve this share the configuration?

Thanks in advance

1 Like


{:ok, _} = Application.ensure_all_started(:hound)

And let us know if it works. Maybe Hound simply isn’t available or it is available only in certain environments (like test but not the white_bread one).


It worked! Thank you Jose!


1 Like