Reset of gen_servers for testing

Tim Buchwaldt b8fd876282 Fix readme 7 роки тому
config db2dfb96a0 Import 7 роки тому
lib 67e4768add Default arguments when no register_gen_reset was called 7 роки тому
test 7c1e6daae5 Format 7 роки тому
.formatter.exs db2dfb96a0 Import 7 роки тому
.gitignore db2dfb96a0 Import 7 роки тому
README.md b8fd876282 Fix readme 7 роки тому
mix.exs db2dfb96a0 Import 7 роки тому

README.md

GenReset

Bored of resetting GenServers manually during testing? I was, so I built this.

Installation

Add gen_reset to your dependencies. Then add use GenReset after your use GenServer line. A tracking server is automatically started that allows you to reset all servers at the same time: GenReset.Tracker.reset() - you can put this into your setup block.

def deps do
  [
    {:gen_reset, git: "https://git.chaos.koeln/tim/gen_reset.git"}
  ]
end

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