Skip to content

Instantly share code, notes, and snippets.

@ermshiperete
Last active December 9, 2022 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ermshiperete/820a93a320e300a52ab569e00329a397 to your computer and use it in GitHub Desktop.
Save ermshiperete/820a93a320e300a52ab569e00329a397 to your computer and use it in GitHub Desktop.
Repro project for Nunit3TestAdapter #1040
.idea/
bin/
obj/
*DotSettings.user
This project demonstrates the bug reported as https://github.com/nunit/nunit3-vs-adapter/issues/1040.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.1" />
</ItemGroup>
</Project>

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUnitAdapterBug", "NUnitAdapterBug.csproj", "{7471AFFC-BF5B-4006-B08A-EC2383F1B3EE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7471AFFC-BF5B-4006-B08A-EC2383F1B3EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7471AFFC-BF5B-4006-B08A-EC2383F1B3EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7471AFFC-BF5B-4006-B08A-EC2383F1B3EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7471AFFC-BF5B-4006-B08A-EC2383F1B3EE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
using NUnit.Framework;
namespace NUnitAdapterBug
{
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Test1()
{
Assert.Pass();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment