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
ESpec is not fired despite being specified as the testing library in the WhiteBread context file:
mix white_bread.run
loading all contexts from features/contexts/**
** (exit) exited in: GenServer.call(:espec_specs_agent, {:update, #Function<0.60990145/1 in ESpec.add_spec/1>}, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:979: GenServer.call/3
features/contexts/white_bread_context.exs:2: (module)
(stdlib) erl_eval.erl:680: :erl_eval.do_apply/6
mix.exs declares the following dependencies:
{:white_bread, "~> 4.5", only: [:dev, :test]},
{:espec, "~> 1.7", only: [:dev, :test]},
{:poison, "~> 4.0", override: true}
And white_bread_context.exs is:
defmodule WhiteBreadContext do
use WhiteBread.Context, test_library: :espec
end
The text was updated successfully, but these errors were encountered:
@confucius I think this is a flaw with the documentation. test_library: :espec only tells whitebread to use espec assertions. Espec needs to be started up outside of whitebread.
ESpec is not fired despite being specified as the testing library in the WhiteBread context file:
mix.exs declares the following dependencies:
{:white_bread, "~> 4.5", only: [:dev, :test]},
{:espec, "~> 1.7", only: [:dev, :test]},
{:poison, "~> 4.0", override: true}
And white_bread_context.exs is:
defmodule WhiteBreadContext do
use WhiteBread.Context, test_library: :espec
end
The text was updated successfully, but these errors were encountered: