- Open UnitTests.cs in the CSharpAnalyzers.Test project in the Solution Explorer solution to view the default unit tests created for the default symbol analyzer (type names should not contain lowercase letters) for the template analyzer project.
- Navigate to Test | Windows | Test Window to open the Test Explorer window to view the unit tests in the project. Default analyzer project has two unit tests:
- TestMethod1: This tests the scenario where analyzer diagnostic does not fire on the test code and
- TestMethod2: This tests the scenario where analyzer diagnostic does fire on the test code.
Note that the unit test project ...