provideTestCases

abstract fun provideTestCases(spec: T, context: TestGenerationContext): Outcome<List<TestCase>>

Returns Outcome with test cases generated from the given baseline valid case and OpenAPI element.

Return

Outcome with generated test cases; empty when not applicable

Parameters

spec

the OpenAPI element to analyze; when null, no cases are produced

context

with a valid test case, operation specification and OpenAPI document