-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppVeyor UploadTestResults #807
Comments
You are correct, Cake.Recipe does not currently have functionality for including this. If this is something that you are interested in adding to the project, then a PR to add this in would be appreciated, and we can begin a review process. |
How are the test results currently published? Is Appveyor still supported by Cake Recipe? |
Yes, using AppVeyor is still very much supported in Cake.Recipe. Currently, Cake.Recipe takes the approach of generating a report for the unit tests, rather than reporting it to the CI system it is running on. You could add a custom task that does this work within your project. |
How can I use the report for the unit tests. With NUnit the console output is written but nothing in the directory. If I find time I will make a PR. What strategy do you recommend? Should I better make my own fork where I customize the scripts or can I just add my own scrips? |
If you are looking to modify the functionality that is offered within Cake.Recipe, then you can do that by changing/overridding the built in tasks. This is documented here: https://cake-contrib.github.io/Cake.Recipe/docs/extending/modify-built-in-tasks If what you are changing is something that you think would be useful to other people, then a PR to add this functionality into Cake.Recipe itself would be the correct way to go. |
That's a good way to go. This way I can try out my idea. If it works, I'll do a PR. |
I have tried but something does not work. I delete all test tasks and overwrite them with the example. The result does not change.
|
Oh. It was the wrong Task. BuildParameters.Tasks.DotNetCoreTestTask |
Does DotNetCoreTester have a result file that you could send to appveyor? |
Hi. What is the normal way with cake recipe to display issue reports. How should I bring the report.html file to gitHub. Is there a description of the workflow? |
Test results are not uploaded to AppVeyor.
https://stackoverflow.com/questions/46370959/cake-build-and-nunit3-generating-empty-results-file
The text was updated successfully, but these errors were encountered: