Skip to content
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

Get netstandard tests reported in AppVeyor UI #110

Closed
masojus opened this issue Jul 30, 2017 · 7 comments
Closed

Get netstandard tests reported in AppVeyor UI #110

masojus opened this issue Jul 30, 2017 · 7 comments

Comments

@masojus
Copy link
Contributor

masojus commented Jul 30, 2017

Take a look at the comments here: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test

Specifically regarding passing options to the underlying test adapter so we can customize the output format of the nunit tests for AppVeyor to display them in CI runs.

@masojus
Copy link
Contributor Author

masojus commented Jul 31, 2017

@masojus
Copy link
Contributor Author

masojus commented Jul 31, 2017

It also looks like the VS adapter is indeed able to discover and run the tests in the VS UI. I wonder if directly using the nunit3-console.exe can run the netstandard tests and produce XML output.

@masojus
Copy link
Contributor Author

masojus commented Sep 22, 2017

@masojus
Copy link
Contributor Author

masojus commented Sep 22, 2017

At the moment not even the .NET Framework tests are being reported because we run them under OpenCover to gather coverage data and then don't upload the results.xml. Before, these tests were getting reported in the UI because we were using AppVeyor's Auto test discovery/execution.

@masojus
Copy link
Contributor Author

masojus commented Sep 22, 2017

To upload the netstandard test results, we might have to use the trx logger and upload to AppVeyor's reporting endpoint with mstest as the resultsType: https://github.com/dotnet/cli/issues/3114#issuecomment-291104000

@masojus
Copy link
Contributor Author

masojus commented Sep 22, 2017

Actually n/m, the .NET Framework tests are getting automatically reported because we output a filename and format AppVeyor knows about....we just weren't actually running those tests :/ That's fixed now, so what remains will be to see how we report the .NET Standard tests if/when we get rid of the big .NET Framework tests, which will likely only happen if we can report coverage for those too.

@baumatron
Copy link
Contributor

This should be working now because of #124.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants