AB.RobustRunner (AB v0.2.1)

View Source

Executes robustness tests to verify functions properly handle invalid inputs.

This module generates invalid inputs that don't match the typespec and verifies that functions either raise exceptions or properly validate inputs rather than silently accepting incorrect data.

Summary

Functions

Runs robustness tests for a function with the given input types.

Functions

run_robust_test(module, function_name, input_types, opts)

@spec run_robust_test(module(), atom(), [any()], keyword()) :: :ok

Runs robustness tests for a function with the given input types.

Generates invalid inputs and verifies proper error handling.