NUnit test results on .NET Core

Jiri Cincura's Avatar

Jiri Cincura

25 Aug, 2017 12:09 PM

Hello,

is there a way to have on-the-fly tests reporting from NUnit on .NET Core? In "regular" .NET I'm using nunit3-console with --result='<file>;format=AppVeyor'. Could this be used with dotnet test somehow?

  1. 1 Posted by Ilya Finkelshte... on 26 Aug, 2017 05:49 AM

    Ilya Finkelshteyn's Avatar

    This is not easy question to answer. Please read this discussion for more context.

  2. 2 Posted by Jiri Cincura on 28 Aug, 2017 05:33 AM

    Jiri Cincura's Avatar
  3. 3 Posted by Ilya Finkelshte... on 28 Aug, 2017 06:38 AM

    Ilya Finkelshteyn's Avatar

    I love this solution!!! But why do you need this? Correct me if I wrong, but nunit3 test runner for .NET core has AppVeyor logger already and it writes results, as for example here, before you added XML upload. I maybe missing something... I would be grateful if you explain as we are currently working on automatic .NET core test detection and execution.

  4. 4 Posted by Jiri Cincura on 28 Aug, 2017 06:44 AM

    Jiri Cincura's Avatar

    The results you see are from "full" .NET, not from Core.

  5. 5 Posted by Ilya Finkelshte... on 28 Aug, 2017 06:45 AM

    Ilya Finkelshteyn's Avatar

    Thank you, will look deeper into that.

  6. 6 Posted by Jiri Cincura on 31 Aug, 2017 08:18 AM

    Jiri Cincura's Avatar

    Looks like there's a logger available: https://www.nuget.org/packages/Appveyor.TestLogger/1.1.0-post-rtm. Seems to be working fine, though there's surely room for speed improvements (https://github.com/Faizan2304/LoggerExtensions/pull/12/files).

    Sadly now some of the build configurations are running too long (https://ci.appveyor.com/project/cincura_net/firebirdsql-data-firebirdclient/build/0.0.0.1304) and running over 60min limit.

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:19 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