Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Build data driven tests' section does not mention the user-defined helper classes 'CodeFixVerifier' and 'DiagnosticVerifier' #20403

Closed
vamuzumd opened this issue Sep 1, 2020 · 1 comment · Fixed by #23066

Comments

@vamuzumd
Copy link

vamuzumd commented Sep 1, 2020

The section 'Build data driven tests' has code snippets for methods like 'VerifyCSharpDiagnostic(testCode)' and 'VerifyCSharpFix(test, fixTest);' belonging to user-defined class 'DiagnosticVerifier.cs' which are misconstrued to be built-in methods until I stumbled upon the compilation errors followed by Github source code for MakeConst.
Perhaps a pointer github link to helper classes 'CodeFixVerifier' and 'DiagnosticVerifier' will be useful and time-saving while explaining these methods.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@BillWagner
Copy link
Member

Thanks @vamuzumd for pointing this out. I've added it to our backlog for when we next update this article.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants