Module

ExUnit.Case

Changes by version

Elixir 1.19.3

· 1 change

Bugfix Tool: ExUnit

Fix crash when formatting errors caused by a linked/trapped exit during setup_all

Elixir 1.19.0

· 2 changes

Enhancement Tool: ExUnit

Add :test_group to the test context

Bugfix Tool: ExUnit

Do not crash on empty test unit groups

Elixir 1.18.1

· 2 changes

Bugfix Tool: ExUnit

Ensure async groups do not run concurrenly while the test suite is still loading

Bugfix Tool: ExUnit

Ensure --repeat-until-failure can be combined with groups

Elixir 1.18.0

· 1 change

Enhancement Tool: ExUnit

Add test_pid as a tag

Elixir 1.17.0

· 1 change

Hard Deprecation Tool: ExUnit

register_test/4 is deprecated in favor of register_test/6 for performance reasons

Elixir 1.15.0

· 1 change

Enhancement Tool: ExUnit

Add ExUnit.Case.get_last_registered_test/1

Elixir 1.14.2

· 1 change

Enhancement Tool: ExUnit

Allow test cases to not be registered on use

Elixir 1.12.0

· 1 change

Bugfix Tool: ExUnit

Make @tag tmp_dir an absolute directory, avoiding inconsistencies if the test changes the current working directory

Elixir 1.11.0

· 1 change

Enhancement Tool: ExUnit

Add register_test/6 to speed up compilation of custom tests

Elixir 1.7.0

· 2 changes

Bugfix Tool: ExUnit

Raise proper error if @tag and @moduletag are used before use ExUnit.Case

Bugfix Tool: ExUnit

Raise proper error if @describetag is used outside of describe/2 blocks

Elixir 1.6.1

· 1 change

Bugfix Tool: ExUnit

Reintroduce :case in ExUnit setup/setup_all/test context

Elixir 1.6.0

· 1 change

Enhancement Tool: ExUnit

Generate a random seed per test based on the test suite seed