PropWise.SuggestionGenerator (PropWise v0.3.2)

View Source

Generates property-based testing suggestions for different libraries.

Uses a template-based approach where library-specific syntax (stream_data vs PropEr) is parameterized, and function name/arity are used to generate accurate call sites.

Summary

Functions

Generates testing suggestions based on detected patterns and library.

Functions

generate(patterns, function_info, library)

@spec generate(
  [PropWise.Candidate.pattern()],
  PropWise.FunctionInfo.t() | map(),
  atom()
) :: [
  String.t()
]

Generates testing suggestions based on detected patterns and library.