Interface: RecordTestCaseCommandArg
testUtil/TestCaseRecorder.internal.RecordTestCaseCommandArg
Properties
captureFinalThatMark
• Optional
captureFinalThatMark: boolean
Whether to capture the that
mark returned by the action.
Defined in
testUtil/TestCaseRecorder.ts:78
directory
• Optional
directory: string
The directory in which to store the test cases that we record. If left out the user will be prompted to select a directory within the default recorded test case directory.
Defined in
testUtil/TestCaseRecorder.ts:54
extraSnapshotFields
• Optional
extraSnapshotFields: keyof TestCaseSnapshot
[]
Defined in
testUtil/TestCaseRecorder.ts:62
isDecorationsTest
• Optional
isDecorationsTest: boolean
If true decorations will be added to the test fixture
Defined in
testUtil/TestCaseRecorder.ts:47
isHatTokenMapTest
• Optional
isHatTokenMapTest: boolean
If this is set to true
, then for each test case that we record, we expect
that the user will issue a second command in each phrase, which refers to a
decorated mark whose range we'd like to check that it got updated properly
during the previous command. We use this functionality in order to check
that the token range update works properly. For example, you might say
"chuck second car ox air take air"
to check that removing a character
from a token properly updates the token.
Defined in
testUtil/TestCaseRecorder.ts:44
isSilent
• Optional
isSilent: boolean
If true
, don't show a little pop up each time to indicate we've recorded a
test case
Defined in
testUtil/TestCaseRecorder.ts:60
recordErrors
• Optional
recordErrors: boolean
Whether we should record a tests which yield errors in addition to tests which do not error.
Defined in
testUtil/TestCaseRecorder.ts:73
showCalibrationDisplay
• Optional
showCalibrationDisplay: boolean
Whether to flash a background for calibrating a video recording
Defined in
testUtil/TestCaseRecorder.ts:67