-
Notifications
You must be signed in to change notification settings - Fork 57
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
Walk through on VS2017 integrations #199
Comments
Hi there Thanks for taking the time to try to make it work. We have not been investing huge amounts of time lately, and state-of-the-art with VS2017 is a little bit foggy. Let's try to recap:
Our understanding is that in order to have a VS2017 adapter, one should somehow leave the dotnet-test type of runner and "go back" to the VS adapter type. Now, here's the crux: Our current NSpec.VsAdapter is itself an old style-csproj project in .NET Framework. It has not been ported yet to .NET Core, nor to VS2017 csproj type of project. Also, it is built against a specific version of NSpec (non-.NET Core yet), and this is bad in general: it should instead dynamically reference the NSpec.dll coming with the test project it's running. Some time ago we tried porting NSpec.VsAdapter initially just to .NET Core in a project.json/xproj project, and at the same time we tried making it dynamically reference NSpec.dll. There we hit the infamous Assembly.Load problems. We thought those had gone away for good, when we previously coded the same thing in dotnet-test runner (that one also loads NSpec dynamically from test project). After trying to solve those problems for some time, we did not have further chances to work at it again. So, as you can guess, there's some (debug+dev) work to do in order to make VS adapter work in VS2017. |
@warwickfoster looking forward to your VS2017 Enterprise test runner contributions. |
Yeah thinking about it. Got a couple of Monkeys on my back but keep needling me and ill give it a shot.
From: Amir Rajan [mailto:[email protected]]
Sent: Saturday, 5 August 2017 1:04 PM
To: nspec/NSpec <[email protected]>
Cc: warwickfoster <[email protected]>; Mention <[email protected]>
Subject: Re: [nspec/NSpec] Walk through on VS2017 integrations (#199)
@warwickfoster <https://github.com/warwickfoster> looking forward to your VS2017 Enterprise test runner contributions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#199 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AEj15hpP7qwRQaCgeXuqzQAxr6n1yYWhks5sU9uigaJpZM4OqrQS> . <https://github.com/notifications/beacon/AEj15i9yG1cTa8YFBpDHaNcX8oQj-P3jks5sU9uigaJpZM4OqrQS.gif>
|
It's very unfortunate that I couldn't get this to work through the VS 2017 adapter for .NET Core 2 project (new .csproj format). |
We're not yet actively working on VS2017 / .NET Core 2 projects, also given the relative "instability" on the tooling side, that's the main reason. Please feel free to ask for info if you want to give a stab at that. |
@ivan-prodanov dig in and figure it out :-) |
downloaded the Git repo and compiled in VS2017. Had the test adapter installed. Nothing appears in the test explorer. Do not have resharper installed. Did not want to try on CLI as I am looking for UI integration, Really like nspec and want to use it. Could someone download VS2017 enterprise and have a look at the integration for me and let me know what to do to get it in the interface.
Thank you. Really like nspec
The text was updated successfully, but these errors were encountered: