Open
Description
Is your feature request related to a problem? Please describe.
While the current implementation Model Drivel Application - Health Check Test Coverage Report #594 provides a pass/fail metric for test execution, it does not offer insight into the coverage of tests across the testable resources within a Power Platform solution. This limits the ability to assess how comprehensively the solution is being validated through automated tests.
Describe the solution you'd like
Introduce a feature that enables users to:
- Specify a solution (e.g., by name or ID)
- Automatically discover testable components within that solution
- Generate a coverage report indicating which components are covered by tests and which are not
- Define scope to indicate what components that the tests health check metric should cover
Testable Components to Include
- Canvas Apps
- Pages (Screens) - Model-Driven Apps
- Entity List Pages
- Entity Detail Pages
- Custom Pages - Web Resources
- JavaScript files used in Model-Driven Apps - Dataverse
- Plugins
- Entities - AI Builder
- Trained AI Models
Describe alternatives you've considered
No response
Additional context?
Current process example using features from Model Drivel Application - Health Check Test Coverage Report #594 a
$env:user1Email = "test@contoso.onmicrosoft.com"
dotnet PowerAppsTestEngine -i test.te.yaml -p mda -e $envId -t $tenantId -d $testPage --run-name "Sample"
dotnet PowerAppsTestEngine -i test2.te.yaml -p mda -e $envId -t $tenantId -d $testPage --run-name "Sample"
$folderPath = "$env:USERPROFILE\AppData\Local\Temp\Microsoft\TestEngine\TestOutput"
$reportPath = [System.IO.Path]::Combine($folderPath, "test_summary_$runName.html")
dotnet PowerAppsTestEngine --run-name "Sample" --output-file $reportPath
Could generate a summary report like
With the health coverage metric of the avaliable tests