JsonReporter Class
Constructor
JsonReporter
()
Item Index
Methods
Methods
complete
()
Reporting is completed
initialize
()
Initializes the instance
itemData
(
-
id
-
json
Called when any item has custom data
itemMessage
(
-
id
-
message
Called when any item has a custom message
start
()
Called when reporting starts
stop
()
Called when reporting stops
suiteStart
(
-
id
-
parentId
-
suiteName
Called when suite starts
testError
(
-
id
-
[message]
-
[reason]
Called when test has an error
testFailed
(
-
id
-
[message]
-
[reason]
Called when test fails
testSkipped
(
-
id
-
[reason]
Called when test is skipped
testStart
(
-
id
-
parentId
-
testName
Called when test starts
write
()
Writes the data into an output file