Closed NavneetThekkumpat closed 1 year ago
Optional but nice to have - Consider adding unit tests as well to validate and compare those JSON string objects being produced inside code. That way these can be easily caught in the future if we happen to make further changes to those strings.
Package | Line Rate | Branch Rate | Complexity | Health |
---|---|---|---|---|
Microsoft.PowerApps.TestEngine | 91% | 88% | 914 | ✔ |
Summary | 91% (2424 / 2650) | 88% (552 / 628) | 914 | ✔ |
Minimum allowed line rate is 85%
Currently app URL and test results path is not specified in the .trx file. In an attempt to improve .trx file >> adding these details.
Proposed Solution
Add app url and test results path as part of ResultSummary within a test run. Keeping in mind the schema http://microsoft.com/schemas/VisualStudio/TeamTest/2010
XML change would look like this
TRX opened in Visual studio looks like this
Also removed Testcase name within the unittest results.
Since the testcase name is already present in the UnitTestResult attribute
Checklist