Open kmlqsf opened 2 years ago
Visual Studio is smart and sometimes it confuses me. The root cause of this issue is that VS loads NUnit3.TestAdapter
from nuget local cache, not from your D:\MyProject.UITests\Tests\bin\QA
output folder. Bug or feature? At least MS documented it somewhere.
As a solution I can propose to change target framework to .netcore3.1+
or net5.0+
. In this case VS always picks up adapter from output folder, as CLI always does it. Bug or feature? But it works :)
Im trying to configure project with Report Portal. I tried on VS 2019 and 2022.
It works running with CI, but not locally.
Project references have NUnit, NUnit3TestAdapter, ReportPortal.NUnit (tryied ReportPortal.VSTest.TestLogger also).
Running Test from Test Explorer or ReSharper Unit Test Session (need to run in at least one of the options). Target Framework: .NET Framework 4.7.2 Tried all variants of settings in Tools>Test
Test Output: