-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
The JSON output is:
- Test suite started:
{"Time":"...","Action":"start","Package":"Gateway Tests"}
- A test started running:
{"Time":"...","Action":"run","Package":"Gateway Tests","Test":"TestMetadata"}
- The test emitted some output:
{"Time":"...","Action":"output","Package":"Gateway Tests","Test":"TestMetadata","Output":"=== RUN TestMetadata\n"}
- The test passed:
{"Time":"...,"Action":"pass","Package":"Gateway Tests","Test":"TestMetadata","Elapsed":0}
- The test failed:
{"Time":"...","Action":"fail","Package":"Gateway Tests","Test":"TestMetadata","Elapsed":0}
So far, so good, but:
- The test suite failed:
{"Time":"...","Action":"fail","Package":"Gateway Tests","Elapsed":0.002}
So the "fail" action is duplicated for both individual failure and test suite failure. You have to infer that the event refers to the overall test suite failure by the absence of the "Test" property or some other method.
The results would be more straightforward to consume if the test suite failure/success event had a different "Action" name to the success/failure of individual tests.
Metadata
Metadata
Assignees
Labels
No labels