Dotnet core 2 tests

piotrszkudlarski's Avatar

piotrszkudlarski

15 Oct, 2017 09:25 AM

Hello,
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.
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'.

Logs: https://ci.appveyor.com/project/Tisu/meetupapi
Configuration: https://bitbucket.org/Tisu/meetupapi/src/a88b6b16e2a15881e511d099c7bf13c0b3a4fbe7/appveyor.yml?at=master&fileviewer=file-view-default

  1. 1 Posted by Ilya Finkelshte... on 16 Oct, 2017 07:47 AM

    Ilya Finkelshteyn's Avatar

    I would recommend to run dotnet test command against test projects, not whole solution, e.g. against RsvpScheduler.Tests.csproj in your case.

    If you look at dotnet test doc it says that you have to specify project.

    Also --no-build option will save some your build time.

    And finally this week we release update, after which AppVeyor will detect .NET Core test projects and run appropriate commands automatically.

  2. 2 Posted by piotrszkudlarsk... on 16 Oct, 2017 08:25 AM

    piotrszkudlarski's Avatar

    Thanks for your answer. I'm really looking forward for this update :).

  3. piotrszkudlarski closed this discussion on 16 Oct, 2017 08:26 AM.

Comments are currently closed for this discussion. You can start a new one.

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