Files
n8n-openai-adapter/lib/ex_unit/test/ex_unit_test.exs
T
José Valim 5df46d54ef ExUnit now supports after_spawn callbacks
Such callbacks are invoked after each process is spawned.

This commit also refactors ExUnit.Runner slightly to consume
information from ExUnit.Server gradually instead of retrieving
it all up-front. This small step allows us to have ExUnit
running in the background in the future or to run many suites
at once.
2012-09-06 12:52:46 +02:00

10 lines
204 B
Elixir

Code.require_file "../test_helper.exs", __FILE__
defmodule ExUnitTest do
use ExUnit.Case, async: false
test "it runs after_spawn hooks" do
assert Process.get(:after_spawn) == :ex_unit
end
end