Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Core Unit tests not shown in AppVeyor Tests window (and badge)

Follow up from this question, I'm currently setting up AppVeyor for my project (here) and my .NET Core tests are only shown in the console output but not in the Tests window.

This is the link for the AppVeyor project: ci.appveyor.com/project/Sergio0694/neuralnetwork-net

If some tests fail, the console correctly shows an error and the build is marked as failing, but the Tests window is empty anyways. Same goes for the badge from shields.io which shows 0 total tests, even if I can see many of them being executed from the console output.

Here's the console output: enter image description here

And here's the Tests window: enter image description here

Is there something else I have to setup in order for them to be reported correctly outside the console window?

like image 975
Sergio0694 Avatar asked Jan 12 '18 23:01

Sergio0694


1 Answers

Please add https://www.nuget.org/packages/Appveyor.TestLogger to your test projects.

like image 105
Ilya Finkelsheyn Avatar answered Oct 19 '22 08:10

Ilya Finkelsheyn