forcedotcom / salesforcedx-apex

Salesforce Apex Node Library
BSD 3-Clause "New" or "Revised" License
18 stars 25 forks source link

feat!: Modify apex-node TestResult to account for test setup data #387

Closed CristiCanizales closed 2 months ago

CristiCanizales commented 2 months ago

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