p/analyzer-test/ #5
Replies: 7 comments 6 replies
-
I've had to learn how to write Analyzer/Codefix in the last couple of weeks. This set of articles is absolutely the most informative 'how to' (especially on writing unit tests) that I've found. I really struggled with how to setup complex unit tests prior to this discovery. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I am trying to write an Analyzer for WinForms which is working by I can't figure out how to get the test to understand System.Windows.Forms. From Your example I need to include it as a package but where do I get the package identities?
|
Beta Was this translation helpful? Give feedback.
-
For those looking for a solution
And you can select any framework by name. |
Beta Was this translation helpful? Give feedback.
-
I am facing this issue https://stackoverflow.com/questions/71683935/c-sharp-code-analyzer-test-is-not-working-but-test-is-correct |
Beta Was this translation helpful? Give feedback.
-
Thanks for this series. Very helpful! |
Beta Was this translation helpful? Give feedback.
-
Nicely done. Question (if you don't mind): |
Beta Was this translation helpful? Give feedback.
-
Hi. Thanks for sharing your experience here, still useful as of 2024. Searching through various scenarios I could not find one we're trying to make it work, here it is: A generator uses a marker attribute (with Using a marker attribute with generator seems to be quite common. And generating attribute itself was seen in other blog posts. Is there a way to run some generator when testing through Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
p/analyzer-test/
always learning | always growing
https://www.alwaysdeveloping.net/p/analyzer-test/
Beta Was this translation helpful? Give feedback.
All reactions