nunit/nunit-vs-adapter

Can't run tests in VS2017 (OutOfMemoryException)

thomaslevesque opened this issue · 6 comments

I'm unable to run tests for a project in VS2017. When I rebuild the project to populate the Test Explorer window, it doesn't show any test. The Output window for Tests show the following content:

------ Discover test started ------
NUnit Adapter 3.7.0.0: Test discovery starting
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.CapitalizeTests.Capitalize_Returns_Input_If_Empty
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.CapitalizeTests.Capitalize_Returns_Input_With_UpperCase_First_Letter
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ContainsTest.Contains_Returns_True_If_Input_Contains_Substring("Hello World","WORLD",CurrentCultureIgnoreCase,True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ContainsTest.Contains_Returns_True_If_Input_Contains_Substring("Hello World","world",CurrentCultureIgnoreCase,True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ContainsTest.Contains_Returns_True_If_Input_Contains_Substring("Hello World","WORLD",CurrentCulture,False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ContainsTest.Contains_Returns_True_If_Input_Contains_Substring("Hello World","World",CurrentCulture,True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ContainsTest.Contains_Throws_If_ComparisonType_Is_Undefined
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ContainsTest.Contains_Throws_If_Input_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ContainsTest.Contains_Throws_If_Substring_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.EllipsisTests.Ellipsis_Returns_Input_If_Not_Too_Long
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.EllipsisTests.Ellipsis_Returns_Input_Truncated_With_Ellipsis_If_Too_Long
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.EllipsisTests.Ellipsis_Throws_If_Custom_Ellipsis_String_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.EllipsisTests.Ellipsis_Throws_If_Input_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.EllipsisTests.Ellipsis_Throws_If_Max_Length_Is_Less_Than_Length_Of_Ellipsis_String
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.EllipsisTests.Ellipsis_Throws_If_Max_Length_Is_Less_Than_Zero
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.EllipsisTests.Ellipsis_Throws_If_Max_Length_Less_Than_Length_Of_Custom_Ellipsis_String
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.EllipsisTests.Ellipsis_With_Custom_Ellipsis_String_Throws_If_Input_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.EllipsisTests.Ellipsis_With_Custom_Ellipsis_String_Throws_If_Max_Length_Is_Less_Than_Zero
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.GetLinesTests.GetLines_Returns_All_Lines_In_String
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.GetLinesTests.GetLines_Throws_If_String_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsNullOrEmptyTests.IsNullOrEmpty_Returns_False_If_String_Is_Not_Empty
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsNullOrEmptyTests.IsNullOrEmpty_Returns_True_If_String_Is_Empty
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsNullOrEmptyTests.IsNullOrEmpty_Returns_True_If_String_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsNullOrWhitespaceTests.IsNullOrWhiteSpace_Returns_False_If_String_Has_NonWhitespace_Chars
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsNullOrWhitespaceTests.IsNullOrWhiteSpace_Returns_True_If_String_Is_Empty
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsNullOrWhitespaceTests.IsNullOrWhiteSpace_Returns_True_If_String_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsNullOrWhitespaceTests.IsNullOrWhiteSpace_Returns_True_If_String_Is_WhiteSpace
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsValidEmailTests.IsValidEmail_Returns_True_If_Email_Is_Valid("test@test.com",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsValidEmailTests.IsValidEmail_Returns_True_If_Email_Is_Valid("test.test@test.com",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsValidEmailTests.IsValidEmail_Returns_True_If_Email_Is_Valid("test",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsValidEmailTests.IsValidEmail_Returns_True_If_Email_Is_Valid("test@test",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsValidEmailTests.IsValidEmail_Returns_True_If_Email_Is_Valid("test@test@test.com",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.IsValidEmailTests.IsValidEmail_Throws_If_Input_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.JoinTests.Join_Concatenates_Values_If_Separator_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.JoinTests.Join_Concatenates_Values_With_Separator
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.JoinTests.Join_Throws_If_Values_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.LeftTests.Left_Returns_Empty_String_If_Count_Is_Zero
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.LeftTests.Left_Returns_Leftmost_Characters
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.LeftTests.Left_Returns_Original_String_If_Count_Equals_Length
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.LeftTests.Left_Throws_If_Count_Is_Greater_Than_Length
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.LeftTests.Left_Throws_If_String_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Ignores_Case("hello world","HELLO WORLD",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Ignores_Case("hello world","HELLO *",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Ignores_Case("hello world","* WORLD",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Ignores_Case("hello world","HELLO ?????",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Matches_Case("hello world","HELLO WORLD",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Matches_Case("hello world","HELLO *",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Matches_Case("hello world","* WORLD",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Matches_Case("hello world","HELLO ?????",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_QuestionMarks("hello world","???????????",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_QuestionMarks("hello world","hello ?????",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_QuestionMarks("hello world","????? world",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_QuestionMarks("hello world","hel?????rld",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_QuestionMarks("hello world","???lo wo???",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_QuestionMarks("hello world","?",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_QuestionMarks("hello world","?hello world",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_QuestionMarks("hello world","hello world?",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_QuestionMarks("hello world","?hello world?",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_Stars("hello world","*",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_Stars("hello world","hello*",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_Stars("hello world","*world",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_Stars("hello world","hel*rld",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_Stars("hello world","*hello*",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_Stars("hello world","*hello world",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_Stars("hello world","hello world*",True)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_Stars("hello world","hello",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_Stars("hello world","*hello",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Returns_True_If_Input_Matches_Pattern_With_Stars("hello world","world*",False)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Throws_If_Input_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.MatchesWildcardTests.MatchesWildcard_Throws_If_Pattern_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ReplaceAtTests.ReplaceAt_Replaces_Specified_Character
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ReplaceAtTests.ReplaceAt_Throws_If_Index_Out_Of_Range("foo",-1)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ReplaceAtTests.ReplaceAt_Throws_If_Index_Out_Of_Range("foo",3)
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ReplaceAtTests.ReplaceAt_Throws_If_Input_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ReverseTests.Reverse_Empty_String_Returns_Empty_String
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ReverseTests.Reverse_FormC_String_With_Accented_Char_Returns_Reversed_String
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ReverseTests.Reverse_FormD_String_With_Accented_Char_Returns_Reversed_String
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ReverseTests.Reverse_String_With_ASCII_Chars_Returns_Reversed_String
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ReverseTests.Reverse_String_With_Emoji_Returns_Reversed_String
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.ReverseTests.Reverse_Throws_If_String_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.RightTests.Right_Returns_Empty_String_If_Count_Is_Zero
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.RightTests.Right_Returns_Original_String_If_Count_Equals_Length
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.RightTests.Right_Returns_Rightmost_Characters
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.RightTests.Right_Throws_If_Count_Is_Greater_Than_Length
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.RightTests.Right_Throws_If_String_Is_Null
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.TruncateTests.Truncate_Returns_Input_If_Not_Too_Long
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringExtensionsTests.TruncateTests.Truncate_Returns_Input_Truncated_If_Too_Long
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Check_Format
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Format_Should_Accept_Alignment_In_PlaceHolder
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Format_Should_Throw_When_No_Matching_Value_Exists
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Implicit_Operator
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Should_Raise_Exception_When_Called_With_Null_Template
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Should_Raise_Exception_When_Called_With_Null_Values
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Test_BracesAreEscaped
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Test_CachedTemplate
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Test_ClearCached
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Test_HiddenMembers
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Test_WithFields
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.Test_WithFormatProvider
Exception of type 'System.OutOfMemoryException' was thrown.
Exception System.OutOfMemoryException, Exception converting NString.Tests.StringTemplateTests.ToString_Should_Return_Template
Exception of type 'System.OutOfMemoryException' was thrown.
Assembly contains no NUnit 3.0 tests: D:\Docs\GitHub\NString\NString\bin\Release\netstandard1.0\NString.dll
NUnit Adapter 3.7.0.0: Test discovery complete
========== Discover test finished: 0 found (0:00:00,469365) ==========

For reference, here's the csproj:

<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFrameworks>net461;netcoreapp1.0</TargetFrameworks>
    <TestProjectType>UnitTest</TestProjectType>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="NUnit" Version="3.6.1" />
    <PackageReference Include="NUnit3TestAdapter" Version="3.7.0" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\NString\NString.csproj" />
  </ItemGroup>

</Project>

It's a very small solution (only 2 small projects), and I have 8GB of RAM, so I don't think the issue can be explain by insufficient hardware. devenv.exe uses 469MB (private working set).

There's a couple of issues for this already at the links below - they have workarounds too.

nunit/nunit3-vs-adapter#296
nunit/nunit3-vs-adapter#300

I'll close this one as a duplicate - let me know if I've missed something!

Thanks @ChrisMaddock, I'll look at those workarounds.

Experienced same issue. Updated NUnit Test Adapter to 3.10.0 and this problem solved in VS 2017 and got VSTS builds to run the tests while using net471.

image

@chamindac Not sure I understand. Do you see a new issue here, and the workarounds referred to above does not work ?

@OsirisTerje I believe that @chamindac is saying that updating to 3.10.0 fixed the problem for him.

Ahh, ok, all well then :-)