Skip to content

[Discussion] NUnit infra in Arcade #16428

@Youssef1313

Description

@Youssef1313

The current NUnit infra in Arcade is:

<ItemGroup>
<PackageReference Include="Microsoft.TestPlatform" Version="$(MicrosoftTestPlatformVersion)" IsImplicitlyDefined="true" PrivateAssets="all" Publish="true"/>
<PackageReference Include="NUnit" Version="$(NUnitVersion)" IsImplicitlyDefined="true" PrivateAssets="all" Publish="true"/>
<PackageReference Include="NUnit3TestAdapter" Version="$(NUnit3TestAdapterVersion)" IsImplicitlyDefined="true" PrivateAssets="all" Publish="true"/>
</ItemGroup>
<Import Project="..\VSTest.targets"/>

  1. NUnit3TestAdapterVersion is currently an extremely old version (3.15.1) which is from August 2019.
  2. Current infra doesn't support MTP currently.
  3. NUnit isn't used by many repos/projects.

I think we should either move forward with NUnit (e.g, update deps, support MTP etc), or just remove it completely from Arcade. Given the low usage (only two test projects), I'm leaning towards the latter. A first step would be moving these two projects from NUnit to either xUnit (more consistent with rest of the repo), or MSTest (easier to migrate to). After the migration is done, drop NUnit.targets from Arcade.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions