[Feature]: Enhanced Health Metrics
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- csharp
- 领域
- testing-qa
调研方向
首先查看 issue #594,以及 PowerShell 示例中展示的当前 PowerAppsTestEngine 健康检查报告流程。定义对于列出的 Power Platform 资源,解决方案选择、组件发现、覆盖范围和 HTML 摘要应如何工作。当该功能对于识别已覆盖和未覆盖的组件以及生成所请求的覆盖率报告具有一致的行为时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
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 = "[email protected]"
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
- 主要语言
- C#
- 星标
- 150
- 派生
- 55
- 平均合并
- 1 小时 18 分钟
- 30 天内合并 PR
- 1
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/PowerApps-TestEngine 的其他 Issue
-
new
难度 1/5 1 小时以内 新手友好度 68/100
-
new
难度 3/5 1-2 天 新手友好度 35/100
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
-
new
难度 4/5 3-5 天 新手友好度 48/100
-
question
难度 5/5 一周以上 新手友好度 20/100
查看 microsoft/PowerApps-TestEngine 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
NethermindEth/nethermind#14012 ·
维护者通常 1 天内回复
-
dependencies Status: Triage
难度 2/5 1-3 小时 新手友好度 68/100
json-schema-org/website#2518 ·
维护者通常 1 天内回复
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
builtbybel/Flyoobe#498 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
builtbybel/CrapFixer#112 ·