feat: add test project to verify incremental source generators - #4592
Conversation
cab8871 to
48bb006Comparethomhurst
commented
Jan 28, 2026
SummaryAdds a new test project to verify incremental source generator behavior for the MethodAssertionGenerator. Critical Issues1. VSTest Dependency Violation (BLOCKING) Location: Fix: Replace xunit with TUnit for the test framework. Look at existing test projects like 2. Missing Snapshot Test Updates While these are incremental behavior tests (not output tests), if any test failures produce 3. Target Framework Inconsistency Location: Fix: Import <ImportProject="../TestProject.props" />Then remove the explicit Suggestions
Previous Review StatusUnable to retrieve previous review comments due to API scope limitations. Verdict |
48bb006 to
8eeeb4fCompare
SelfRegisteredExtensions.cs(15, 9): [CS0234] The type or namespace name 'Framework' does not exist in the namespace 'TUnit.Engine' (are you missing an assembly reference?)
Tried switching to TUnit, not sure if they run was going to see if CI liked it Updated the .sln file by blindly accepting everything, hopefully it's fine |
8eeeb4f to
7acfb9aCompare7acfb9a to
d45d9f5CompareTimothyMakkison
commented
Jan 29, 2026
Can't get it to run with TUnit, I'm absolutely missing something here, but at least it runs 🤷 |
Uh oh!
There was an error while loading. Please reload this page.
I've made the methods a little more generic so It can be used with different generators.
Follow up to #4563