Supertester (supertester v0.1.0)
View SourceSupertester - Multi-repository test orchestration and execution framework.
Provides centralized test management, execution, and reporting across multiple Elixir repositories in a monorepo structure.
Core Modules
Supertester.UnifiedTestFoundation- Test isolation and foundation patternsSupertester.OTPHelpers- OTP-compliant testing utilitiesSupertester.GenServerHelpers- GenServer-specific test patternsSupertester.SupervisorHelpers- Supervision tree testing utilitiesSupertester.MessageHelpers- Message tracing and ETS managementSupertester.PerformanceHelpers- Benchmarking and load testingSupertester.ChaosHelpers- Chaos engineering and resilience testingSupertester.DataGenerators- Test data and scenario generationSupertester.Assertions- Custom OTP-aware assertions
Usage
Add supertester as a test dependency in your mix.exs:
def deps do
[
{:supertester, path: "../supertester", only: :test}
]
endThen use the helpers in your tests:
defmodule MyApp.MyModuleTest do
use ExUnit.Case, async: true
import Supertester.OTPHelpers
import Supertester.Assertions
describe "my functionality" do
setup do
setup_isolated_genserver(MyModule, "my_test")
end
test "my test", %{server: server} do
assert_genserver_responsive(server)
end
end
end
Summary
Functions
@spec version() :: String.t()
Returns the version of Supertester.