View Source MultiversesTest.Replicant (multiverses v0.9.0)

allows you to replicate test module multiple times, forcing them to be run concurrently. This helps prove that the system can be run in parallel without issue.

you should set the replication level with the REPLICATION environment variable, for example:

REPLICATION=10 mix test

Link to this section Summary

Functions

use in place of defmodule/2 for any test you'd like replicated.

Link to this section Functions

Link to this macro

defmoduler(module, list)

View Source (macro)

use in place of defmodule/2 for any test you'd like replicated.