tag:help.appveyor.com,2012-11-13:/discussions/questions/10884-dotnet-core-2-testsAppVeyor: Discussion 2018-10-19T08:18:32Ztag:help.appveyor.com,2012-11-13:Comment/437683692017-10-15T09:25:16Z2017-10-15T09:25:16ZDotnet core 2 tests<div><p>Hello,<br>
I'm trying to configure dotnet core 2 pipeline, but I can't make tests work. Can anyone help me with this,because I run out of ideas.<br>
I'd really appreciate any kind of help :). I've managed to report them to appveyor via Appveyor.TestLogger, but I still get 'Command exited with code 1'.</p>
<p>Logs: <a href="https://ci.appveyor.com/project/Tisu/meetupapi">https://ci.appveyor.com/project/Tisu/meetupapi</a><br>
Configuration: <a href="https://bitbucket.org/Tisu/meetupapi/src/a88b6b16e2a15881e511d099c7bf13c0b3a4fbe7/appveyor.yml?at=master&fileviewer=file-view-default">https://bitbucket.org/Tisu/meetupapi/src/a88b6b16e2a15881e511d099c7...</a></p></div>piotrszkudlarskitag:help.appveyor.com,2012-11-13:Comment/437683692017-10-16T07:47:51Z2017-10-16T07:47:51ZDotnet core 2 tests<div><p>I would recommend to run <code>dotnet test</code> command against test <strong>projects</strong>, not <strong>whole solution</strong>, e.g. against <code>RsvpScheduler.Tests.csproj</code> in your case.</p>
<p>If you look at <a href="https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test?tabs=netcore2x">dotnet test doc</a> it says that you have to specify <strong>project</strong>.</p>
<p>Also <code>--no-build</code> option will save some your build time.</p>
<p>And finally this week we release update, after which AppVeyor will detect .NET Core test projects and run appropriate commands automatically.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/437683692017-10-16T08:25:18Z2017-10-16T08:26:13ZDotnet core 2 tests<div><p>Thanks for your answer. I'm really looking forward for this update :).</p></div>piotrszkudlarski