Content Type Aware Approval Test
abstract class ContentTypeAwareApprovalTest(contentType: ContentType, testNamer: TestNamer = ClassAndMethod, approvalSource: ApprovalSource = FileSystemApprovalSource(File("src/test/resources"))) : BaseApprovalTest(source)
Approval testing JUnit5 extension that checks the expected content type is present in the
Inheritors
Constructors
Link copied to clipboard
constructor(contentType: ContentType, testNamer: TestNamer = ClassAndMethod, approvalSource: ApprovalSource = FileSystemApprovalSource(File("src/test/resources")))
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@API(status = API.Status.MAINTAINED, since = "5.13.3" )
Link copied to clipboard
open override fun resolveParameter(parameterContext: ParameterContext, context: ExtensionContext): @Nullable Any?
Link copied to clipboard
open override fun supportsParameter(parameterContext: ParameterContext, context: ExtensionContext): Boolean