Repository navigation
test: verify the public API with aweXpect.Snapshots.PublicApi - #1131
Merged
Merged
Conversation
PublicApiGenerator does not describe newer C# features like extension members or `params` collections, and every repository repeated a hand-written helper that stores, compares and accepts the expected files. The API tests now read the public API of every target framework with Roslyn through `aweXpect.Snapshots.PublicApi` and compare it as a snapshot, so a change is accepted like any other snapshot, with the explicit `AcceptApiChanges` test or `AWEXPECT_ACCEPT_SNAPSHOTS=all`.
vbreuss
enabled auto-merge (squash)
October 18, 2026 08:21
|
Test Results 62 files ±0 62 suites ±0 1h 2m 41s ⏱️ - 2m 11s For more details on these failures, see this check. Results for commit e9118f7. ± Comparison against base commit b620438. This pull request removes 63032 and adds 63037 tests. Note that renamed tests count towards both.This pull request removes 6893 skipped tests and adds 6893 skipped tests. Note that renamed tests count towards both. |
|
This is addressed in release v7.1.2. |
This was referenced Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



PublicApiGenerator does not describe newer C# features like extension members or
paramscollections, and every repository repeated a hand-written helper that stores, compares and accepts the expected files.The API tests now read the public API of every target framework with Roslyn through
aweXpect.Snapshots.PublicApiand compare it as a snapshot, so a change is accepted like any other snapshot, with the explicitAcceptApiChangestest orAWEXPECT_ACCEPT_SNAPSHOTS=all.