Open ig-sinicyn opened 6 years ago
Hi! I'm doing something wrong, obviously.
Our project targets net 4.6.1 and includes references to xunit v2 nuget package. I'm trying to run tests from the project via
xunit.console.clr4 C:\projects\codejam\PerfTests\tests-xUnit\bin\Publish\net461\CodeJam.PerfTests-Tests.xUnit.dll /appveyor
as recommended in docs. It fails with (link to the build)
xUnit.net console test runner (64-bit .NET 4.0.30319.42000) Copyright (C) 2013 Outercurve Foundation. error: Could not find file: C:\projects\codejam\PerfTests\tests-xUnit\bin\Publish\net461\xunit.dll
It looks like the runner is for xUnit 1.0 tests. It there documented way to run xunit 2.0 tests? :)
Oh, found it. %xunit20%\xunit.console. The doc should be updated:)
%xunit20%\xunit.console
Sure, see https://github.com/appveyor/website/pull/373. Note that our website is Open Source so you can send PR for documentation too :)
Hi! I'm doing something wrong, obviously.
Our project targets net 4.6.1 and includes references to xunit v2 nuget package. I'm trying to run tests from the project via
as recommended in docs. It fails with (link to the build)
It looks like the runner is for xUnit 1.0 tests. It there documented way to run xunit 2.0 tests? :)