nunit-console icon indicating copy to clipboard operation
nunit-console copied to clipboard

Upload TestResults.xml as part of the build in Appveyor

Open mikkelbu opened this issue 2 years ago • 4 comments

From https://gitter.im/nunit/nunit?at=621d255c6b91242320103054 it was suggested that we should also upload the test results of the builds (as artifacts).

@batzen also had the following comment

Appveyor supports uploading test results. Have a look at https://github.com/fluentribbon/Fluent.Ribbon/blob/develop/appveyor.yml

mikkelbu avatar Mar 15 '22 21:03 mikkelbu

Interesting... the reason given for needing it is the reverse of when we might want it ourselves. That is, we generally only need to see the result if there is a failure, in which case it's visible in the log. I assume that's why nobody ever bothered to upload them before. But @Archana-N wants to see the full output for a test run with no failures (since we only publish a release if there are no failures). We can do this of course, but it's an interesting difference in viewpoint. :-)

CharliePoole avatar Mar 16 '22 01:03 CharliePoole

This is an interesting one. I'm curious what in our test results they would look for to evaluate whether or not to use NUnit in their organization.

rprouse avatar Mar 16 '22 14:03 rprouse

I wonder as well. The most they would get is a list of passing tests... potentially a long list. As a "floating" coach / consultant, I ran into a lot of companies with similar rituals.

Ward Cunningham tells a story of one company with a medical application using FIT for it's tests. They wanted a report that listed the names of all the tests with PASSED or FAILED next to them. They got it and were happy. Somebody could easily create a ResultWriter extension to produce that sort of thing from our output, of course.

CharliePoole avatar Mar 16 '22 14:03 CharliePoole

I've seen the same request from some organizations, they want the report as a kind of confirmation, or documentation really, to management that tests have been run and are passed. Name of the tests are sort of the important thing, as far as I understood it.

OsirisTerje avatar Mar 19 '22 09:03 OsirisTerje

@nunit/engine-team Closed based on discussion. If anyone feels we should keep it, please let me know, but hopefully be prepared to implement it. :-)

CharliePoole avatar Sep 13 '22 14:09 CharliePoole