or Create a profile
28 Apr, 2021 09:24 AM
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?
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the AppVeyor staff to resolve this discussion.
This discussion is private.
Only you and AppVeyor support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.