Class VideoRecorderExtension
java.lang.Object
org.selenide.videorecorder.junit5.VideoRecorderExtension
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterTestExecutionCallback
,org.junit.jupiter.api.extension.BeforeTestExecutionCallback
,org.junit.jupiter.api.extension.Extension
public class VideoRecorderExtension
extends Object
implements org.junit.jupiter.api.extension.BeforeTestExecutionCallback, org.junit.jupiter.api.extension.AfterTestExecutionCallback
Created by Serhii Bryt
07.05.2024 11:57
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterTestExecution
(org.junit.jupiter.api.extension.ExtensionContext context) protected void
afterTestExecution
(org.junit.jupiter.api.extension.ExtensionContext context, boolean testFailed) void
beforeTestExecution
(org.junit.jupiter.api.extension.ExtensionContext context)
-
Constructor Details
-
VideoRecorderExtension
public VideoRecorderExtension()
-
-
Method Details
-
beforeTestExecution
public void beforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
beforeTestExecution
in interfaceorg.junit.jupiter.api.extension.BeforeTestExecutionCallback
-
afterTestExecution
public void afterTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
afterTestExecution
in interfaceorg.junit.jupiter.api.extension.AfterTestExecutionCallback
-
afterTestExecution
protected void afterTestExecution(org.junit.jupiter.api.extension.ExtensionContext context, boolean testFailed) -
getRecordedVideo
-