NUnit test results on .NET Core
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?
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
1 Posted by Ilya Finkelshte... on 26 Aug, 2017 05:49 AM
This is not easy question to answer. Please read this discussion for more context.
2 Posted by Jiri Cincura on 28 Aug, 2017 05:33 AM
That's what I eventually did (https://github.com/cincuranet/FirebirdSql.Data.FirebirdClient/blob/ns2/appveyor.yml#L47). Thanks.
3 Posted by Ilya Finkelshte... on 28 Aug, 2017 06:38 AM
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 Posted by Jiri Cincura on 28 Aug, 2017 06:44 AM
The results you see are from "full" .NET, not from Core.
5 Posted by Ilya Finkelshte... on 28 Aug, 2017 06:45 AM
Thank you, will look deeper into that.
6 Posted by Jiri Cincura on 31 Aug, 2017 08:18 AM
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.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:19 AM.