sonar-dotnet icon indicating copy to clipboard operation
sonar-dotnet copied to clipboard

ITs: update Net5 test cases

Open zsolt-kolbay-sonarsource opened this issue 3 years ago • 1 comments

Some of the .NET test cases are not up to date. e.g. Module Initializers were introduced in C# 9.0, but currently analyzers/its/sources/Net5/Net5/ModuleInitializers.cs looks like this:

namespace Net5
{
    public class ModuleInitializers
    {
        // The feature is in progress

        //[ModuleInitializer]
        //internal static void Initializer()
        //{
        //}
    }
}

All test cases under the Net5 folder (as well as Net6, and Net7) in analyzers/its/sources need to be double-checked and updated if necessary.

@zsolt-kolbay-sonarsource Can you please clarify the title of this card? The example resembles a project from our ITs only, the title suggest our UTs/TestCases.

Only Type: Tooling label is relevant here. This doesn't affect rules or any specific C# version of a rule.

The projects have been removed from our ITs as part of the recent C# 13/.NET 9 support sprint, during which we cleaned up and simplified the its folder.

CristianAmbrosini avatar Dec 19 '24 15:12 CristianAmbrosini