JamesNK / Newtonsoft.Json.Bson

Json.NET BSON adds support for reading and writing BSON to Json.NET
MIT License
55 stars 23 forks source link

DeserializeLargeBsonObject test wrong directory Visual Studio 2017/NUnit 3 Adaptor #1

Closed JonHanna closed 7 years ago

JonHanna commented 7 years ago

Working directory can be set to e.g. C:\WINDOWS\system32 depending on how Visual Studio was opened, leading to the wrong path being used in the test.

JamesNK commented 7 years ago

Thanks, I reported the issue with vstest a couple of days ago https://github.com/Microsoft/vstest/issues/504

JonHanna commented 7 years ago

Nunit changing the way working directory works with it may be responsible.

JamesNK commented 7 years ago

I'm not in a huge rush to get this fixed - it only effects test runs from inside VS - the command line passes. I'm going to wait to hear whether vstest is going to fix it in the framework or not.

JamesNK commented 7 years ago

The vstest team has told me that they're fixing this issue in VS2017 Update 1. I'm going to wait for their fix.