Hi,
Don't know if this is a nunit adapter issue, but I tried switching to Microsoft Testing Platform, and categories don't show up in the editor anymore:

Is this an issue with the adapter ?
Here is my simple test code:
namespace NUnitMTP
{
public class Tests
{
[Test, Category("Cat1")]
public void Test1()
{
Assert.Pass();
}
[Test, Category("Cat2")]
public void Test2()
{
Assert.Pass();
}
}
}
and my csproj is as follows:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<EnableNUnitRunner>true</EnableNUnitRunner>
<OutputType>Exe</OutputType>
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="NUnit" Version="4.3.2" />
<PackageReference Include="NUnit.Analyzers" Version="4.6.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
</ItemGroup>
<ItemGroup>
<Using Include="NUnit.Framework" />
</ItemGroup>
</Project>
Hi,
Don't know if this is a nunit adapter issue, but I tried switching to Microsoft Testing Platform, and categories don't show up in the editor anymore:
Is this an issue with the adapter ?
Here is my simple test code:
and my csproj is as follows: