Tests not picked up by AppVeyor
I have two similar projects and AppVeyor picks up tests in the first project but not in the second one.
The first project is: https://ci.appveyor.com/project/Giorgi/entityframework-exceptions
The second project is: https://ci.appveyor.com/project/Giorgi/graphqlinq
The differences are that the first project uses XUnit and the build script is written in AppVeyor.yml and the second project uses NUnit and uses Nuke Build as a build tool.
The test script for the first project is:
dotnet test --logger trx "EntityFramework.Exceptions.Tests\Tests.csproj" /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=opencover /p:Exclude="[*]EntityFramework.Exceptions.Common.*Exception"
And for the second one it is:
"C:\Program Files\dotnet\dotnet.exe" test C:\projects\graphqlinq\src\GraphQLinq.Tests\Tests.csproj --logger trx --no-restore --results-directory C:\projects\graphqlinq\src\TestResults /property:CollectCoverage=True /property:CoverletOutputFormat=opencover /property:CoverletOutput=../TestResults/
Why are the tests picked up in the first project but not in the second one?
What should I do so that tests are picked up in the second project too?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Giorgi on 23 May, 2021 07:46 PM
Is there any update on this issue?