/ex_unit_brittle

ExUnit brittle tests

Primary LanguageElixirMIT LicenseMIT

ExUnitBrittle

!!DON'T USE THIS, good practices are all you need.

but the reality is impure

This library is for those annoying tests, full of dust and that no one wants to look at because they are scary.

Examples

defmodule MyTest do
  use ExUnit.Case
  use ExUnitBrittle

  @tag brittle_attemps: 10
  @tag brittle_timeout: 100
  test_brittle "brittle test" do
  ....
  end
end

Installation

If available in Hex, the package can be installed by adding ex_unit_brittle to your list of dependencies in mix.exs:

def deps do
  [
    {:ex_unit_brittle, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ex_unit_brittle.