The new API contract only requires changes to the summary section; addition of a new property, testSetupTimeInMs, and a change in meaning of testTotalTimeInMs. The major change is the new section “setup”, which is less likely to break consumers.
Modify TestResult as follows:
Add summary property named "testSetupTimeInMs" as a number
Add a new top level section named "setup" as an array of ApexTestSetupData
For each function that returns TestResult today and is producing test results in the form of TestResultRaw
Modify it so that it uses a common transform to produce TestResult from TestResultRaw
What issues does this PR fix or reference?
@W-15923420@
Functionality After
TestResult summary contains new field "testSetupTimeInMs"
TestResult summary field "testTotalTimeMs" = sum of testSetupTimeInMs and testExecutionTimeMs
What does this PR do?
The new API contract only requires changes to the summary section; addition of a new property, testSetupTimeInMs, and a change in meaning of testTotalTimeInMs. The major change is the new section “setup”, which is less likely to break consumers.
Modify TestResult as follows:
For each function that returns TestResult today and is producing test results in the form of TestResultRaw
What issues does this PR fix or reference?
@W-15923420@
Functionality After