Methods
-
fxVideo(func)
-
Fixture to capture tests video.
Parameters:
Name Type Description funcfunction Test funciton.
- Source:
-
fxVideoFunc()
-
Callable fixture to capture tests video.
- Source:
Properties:
Name Type Argument Description dirstring <optional>
Video file folder.
namestring <optional>
Video file name.
-
pluginHelp(yargs, d)
-
Videoplugin help.Parameters:
Name Type Description yargsyargs yargsinstance in order to expand its options.dfunction Function to manage option description: join, colorize, etc.
- Source:
Returns:
- Expanded
yargsinstance.
- Type
- yargs
-
scope(name [, fixtures] [, opts], func)
-
Extends
scopefunction by addition options to manage video recording. Cause it overridesscope, all functions, which use globalscopeinside, can pass its options as well.Parameters:
Name Type Argument Description namestring Scope name.
fixturesArray.<function()> <optional>
List of fixtures.
optsobject <optional>
Options, which extends basic options.
Properties
Name Type Argument Description videoNamestring <optional>
Name of video file.
videoDirstring <optional>
Folder to save video file.
videoSaveboolean <optional>
Flag to save video even if all is passed inside.
videoboolean <optional>
Flag to capture video with default options. Used if above options are missed.
funcfunction Callback with tests or chunks.
- Source: