rprouse on master
Don't install .NET Core 5.x SDK… Merge pull request #3734 from n… (compare)
rprouse on 3724b
rprouse on 3724b
Don't install .NET Core 5.x SDK… (compare)
[06.10.2020 PM 06:20:33 Warning] Exception NUnit.Engine.NUnitEngineUnloadException, Exception thrown unloading tests from D:\Git\Tests\Test\bin\x86\Debug\Test.dll
[06.10.2020 PM 06:20:33 Warning] Unable to unload application domain: unload thread timed out after 30 seconds.
Application domain was unloaded before all details could be read.
[06.10.2020 PM 06:20:33 Warning] at NUnit.Engine.Services.DomainManager.DomainUnloader.Unload()
at NUnit.Engine.Runners.TestDomainRunner.UnloadPackage()
at NUnit.Engine.Runners.AbstractTestRunner.Unload()
at NUnit.Engine.Runners.MasterTestRunner.UnloadPackage()
at NUnit.Engine.Runners.MasterTestRunner.Unload()
at NUnit.VisualStudio.TestAdapter.NUnitEngine.NUnitEngineAdapter.CloseRunner()
at NUnit.VisualStudio.TestAdapter.NUnit3TestExecutor.RunAssembly(String assemblyPath, IGrouping`2 testCases, TestFilter filter)
[06.10.2020 PM 06:20:33 Informational] NUnit Adapter 3.17.0.0: Test execution complete
[06.10.2020 PM 06:20:33 Error] An exception occurred while invoking executor 'executor://nunit3testexecutor/': Exception encountered unloading application domain
Exception encountered unloading application domain: Attempted to access an unloaded appdomain. (Exception from HRESULT: 0x80131014)
Application domain was unloaded before all details could be read.
[06.10.2020 PM 06:20:33 Informational] ========== Run test finished: 1 run (0:03:11.1407897) ==========
@mikkelbu Wow, I missed this:
do you know if it will be a problem that our pdb files mentions unknown files (or more precisely temp-files)?
I don't know of any downside to this. It's been the norm for pdb files to not be found.
I like to use <EmbedAllSources>true</EmbedAllSources>
in my Directory.Build.props though.
---------- Starting test discovery ----------
NUnit Adapter 3.17.0.0: Test discovery starting
NUnit Adapter 3.17.0.0: Test discovery complete
NUnit Adapter 3.17.0.0: Test discovery starting
NUnit Adapter 3.17.0.0: Test discovery complete
NUnit Adapter 3.17.0.0: Test discovery starting
NUnit Adapter 3.17.0.0: Test discovery complete
No test is available in C:\Git\_GuOrg\Gu.Reactive\Gu.Wpf.Reactive\bin\Debug\net46\Gu.Wpf.Reactive.dll C:\Git\_GuOrg\Gu.Reactive\Gu.Reactive\bin\Debug\net46\Gu.Reactive.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
========== Test discovery finished: 1279 Tests found in 7,9 sec ==========
[Test]
public void Test()
{
var data = 14;
var assertions = new List<Action>
{
() => Assert.That(data, Is.EqualTo(4)),
() => Assert.That(data, Is.EqualTo(6)),
() => Assert.That(data, Is.EqualTo(8))
};
Assert.Multiple(() =>
{
foreach (var assertion in assertions)
{
assertion.Invoke();
}
});
}
OneTimeSetUp
or OneTimeTearDown
, see e.g. nunit/docs#286 or nunit/nunit#2674