Optional _cachefalse
Optional _preventset to true to prevent clearing any existing cached results in
the constructor on instantiation
NOTE
this should only be set to
truefrom within external reporter instances to prevent double reporting results
false
Optional aftOptional buildOptional onfor each type of AftTestEvent you can specify an array of actions
to be performed like:
onEventsMap: new Map<AftTestEvent, Array<AftTestFunction>>([
['started', [() => {console.log('started');}]],
['pass', [() => {console.log('pass');}]],
['fail', [() => {console.log('fail');}]],
['skipped', [() => {console.log('skipped');}]]
['done', [() => {console.log('done');}]]
])
new Map<AftTestEvent, Array<AftTestFunction>>()
Optional policyOptional reporter?: ReportingManagerOptional testan array of test IDs to use if none exist in the description
passed to this AftTest constructor
NOTE
passing a
testIdsarray will overwrite any pre-existing test IDs parsed from thedescription
new Array<string>()
Generated using TypeDoc
set to
trueto store eachTestResultsent by thisAftTestinstance to the filesystemNOTE