Add easier way to switch to reflection mode #3106
AdmiralSnyder
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to get your opinion on making it easier to switch a test project to reflection mode by tunit respecting the assembly attribute TUnitReflectionScanner (or some other attribute)
this is required for getting source generated unit tests (like the ones created with bUnit) integrated properly (in VS Test explorer, at least)
details on the problem are found here:
#3026 (comment)
there's a workaround configuring a .runsettings file which does work but messes with environment variables indirectly, so i don't like that.
i'd like to have your opinion first before i PR something. it would basically mean adding another condition in GetUseSourceGeneration()
Beta Was this translation helpful? Give feedback.
All reactions