Methods
-
fxVideo(func)
-
Fixture to capture tests video.
Parameters:
Name Type Description func
function Test funciton.
- Source:
-
fxVideoFunc()
-
Callable fixture to capture tests video.
- Source:
Properties:
Name Type Argument Description dir
string <optional>
Video file folder.
name
string <optional>
Video file name.
-
pluginHelp(yargs, d)
-
Video
plugin help.Parameters:
Name Type Description yargs
yargs yargs
instance in order to expand its options.d
function Function to manage option description: join, colorize, etc.
- Source:
Returns:
- Expanded
yargs
instance.
- Type
- yargs
-
scope(name [, fixtures] [, opts], func)
-
Extends
scope
function by addition options to manage video recording. Cause it overridesscope
, all functions, which use globalscope
inside, can pass its options as well.Parameters:
Name Type Argument Description name
string Scope name.
fixtures
Array.<function()> <optional>
List of fixtures.
opts
object <optional>
Options, which extends basic options.
Properties
Name Type Argument Description videoName
string <optional>
Name of video file.
videoDir
string <optional>
Folder to save video file.
videoSave
boolean <optional>
Flag to save video even if all is passed inside.
video
boolean <optional>
Flag to capture video with default options. Used if above options are missed.
func
function Callback with tests or chunks.
- Source: