Skip to content

Commit 3390d50

Browse files
EvangelinkCopilot
andcommitted
docs: add GitHubActionsReport entry to glossary
Add a new ## G section with a GitHubActionsReport entry covering the Microsoft.Testing.Extensions.GitHubActionsReport MTP extension. The entry documents all four CLI features (log groups, failure/skip annotations, job summary, slow-test notices), MSTest.Sdk opt-in, and NativeAOT/VSTest limitations. Fixes #9653. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent fb7ca7a commit 3390d50

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎docs/glossary.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,19 @@ The practice of using formal mathematical proofs to establish correctness proper
108108

109109
A specific code component (function, struct, or class) selected for formal verification. Each FV target progresses through defined phases: (1) identified, (2) informal spec extracted, (3) Lean 4 formal spec written, (4) implementation model extracted, (5) proofs completed. Current targets are listed in `formal-verification/TARGETS.md`.
110110

111+
## G
112+
113+
### GitHubActionsReport
114+
115+
An MTP extension (`Microsoft.Testing.Extensions.GitHubActionsReport`) that emits GitHub Actions-native workflow commands so test runs on GitHub Actions produce a first-class CI experience. The extension activates only when the test run executes inside GitHub Actions (`GITHUB_ACTIONS=true`) and the `--report-gh` master switch is passed; it no-ops otherwise. When active, it provides four independently toggleable features:
116+
117+
- **Per-assembly log groups** (`--report-gh-groups`): emits `::group::`/`::endgroup::` workflow commands so each test assembly's output is collapsed by default in the runner UI.
118+
- **Failure and skip annotations** (`--report-gh-annotations`): emits a `::error` workflow command for each failing test (with file/line source location when resolvable, so failures appear in the PR "Files changed" diff gutter) and a `::warning` workflow command for each skipped test; both surface in the workflow **Annotations** tab.
119+
- **Job summary** (`--report-gh-step-summary`): appends a markdown roll-up (totals, failures, slowest tests) to the file pointed to by `GITHUB_STEP_SUMMARY`, which GitHub renders on the workflow run summary page.
120+
- **Slow-test notices** (`--report-gh-slow-test-notices`): emits a `::notice` workflow command for any test running past a configured threshold (default 60 seconds; set with `--report-gh-slow-test-threshold`).
121+
122+
When using [MSTest.Sdk](#mstestsdk), opt in with `<EnableMicrosoftTestingExtensionsGitHubActionsReport>true</EnableMicrosoftTestingExtensionsGitHubActionsReport>`; the extension is enabled automatically when `TestingExtensionsProfile` is set to `AllMicrosoft`. Not supported in NativeAOT or VSTest mode. Introduced in [PR #9641](https://github.com/microsoft/testfx/pull/9641) (skipped-test `::warning` annotations).
123+
111124
## H
112125

113126
### HangDump

0 commit comments

Comments
 (0)