Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Feature]: Enhanced Health Metrics

未关闭
#635 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
csharp
领域
testing-qa

调研方向

首先查看 issue #594,以及 PowerShell 示例中展示的当前 PowerAppsTestEngine 健康检查报告流程。定义对于列出的 Power Platform 资源,解决方案选择、组件发现、覆盖范围和 HTML 摘要应如何工作。当该功能对于识别已覆盖和未覆盖的组件以及生成所请求的覆盖率报告具有一致的行为时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

enhancement
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

Image

With the health coverage metric of the avaliable tests

Image

主要语言
C#
星标
150
派生
55
平均合并
1 小时 18 分钟
30 天内合并 PR
1

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/PowerApps-TestEngine 的其他 Issue

查看 microsoft/PowerApps-TestEngine 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。