Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Fix Visual Studio crash when debugging xunit tests #661

Closed
wants to merge 3 commits into from

Conversation

cijothomas
Copy link
Contributor

We were hitting the issues described here:
nunit/nunit3-vs-adapter#320
microsoft/vstest#558

This makes a workaround to all test projects - make them output 'exe' as opposed to library. Also consolidated xunit version across all projects to avoid xunit runner extension cache corruption issues.

  • I ran Unit Tests locally.

For significant contributions please make sure you have completed the following items:

  • Changes in public surface reviewed

  • Design discussion issue #

  • CHANGELOG.md updated with one line description of the fix, and a link to the original issue.

  • The PR will trigger build, unit tests, and functional tests automatically. If your PR was submitted from fork - mention one of committers to initiate the build for you.
    If you want to to re-run the build/tests, the easiest way is to simply Close and Re-Open this same PR. (Just click 'close pull request' followed by 'open pull request' buttons at the bottom of the PR)

  • Please follow [these] (https://github.com/Microsoft/ApplicationInsights-aspnetcore/blob/develop/Readme.md) instructions to build and test locally.

… ensure that the host is completely shut before next Func test begins
…Also made project output type as exe. This is to prevent the unknown exception when debugging tests from visual studio.
@cijothomas
Copy link
Contributor Author

Abandoning this for an alternate PR

@cijothomas cijothomas closed this May 1, 2018
@cijothomas cijothomas deleted the cithomas/teststab branch May 9, 2018 21:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant