This repository was archived by the owner on Nov 10, 2026. It is now read-only.
Repository navigation
feat: add target framework filter and assertions for assemblies - #256
Merged
Merged
Conversation
Add DSL support for matching assemblies by their target framework moniker (e.g. net8.0), mirroring the existing name/version triads: - Filter: .WhichTarget(net8.0) - Assert (single): .Targets(net8.0) - Assert (many): .Target(net8.0) Matching uses the short TFM moniker, derived from the assembly-level [TargetFramework] attribute via a new MapFrameworkName helper that converts a FrameworkName (.NETCoreApp,Version=v8.0) to its moniker. Assemblies without the attribute are treated as having no target framework and never match. Closes #228
vbreuss
enabled auto-merge (squash)
May 31, 2026 11:13
🚀 Benchmark ResultsDetails
|
👽 Mutation ResultsaweXpect.ReflectionDetails
The final mutation score is 88.46%Coverage Thresholds: high:80 low:60 break:0 |
|
|
This is addressed in release v1.5.0. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.



Add DSL support for matching assemblies by their target framework moniker (e.g. net8.0), mirroring the existing name/version triads:
.WhichTarget("net8.0").Targets("net8.0").Target("net8.0")Matching uses the short TFM moniker, derived from the assembly-level [TargetFramework] attribute via a new MapFrameworkName helper that converts a FrameworkName (.NETCoreApp,Version=v8.0) to its moniker. Assemblies without the attribute are treated as having no target framework and never match.
WhichTarget(framework)filter and assertion for assemblies #228