I am transferring my project from .NETFramework 4.5.1 to .NET Standard 1.6
The project uses the MSTest environment, and I would like to save it this way and not rewrite the tests in another environment (XUnit, NUnit, etc.)
Currently, only support for the MSTest platform has been announced only for .NET Core, and of course, dotnet-test-mstest 1.1.2-preview
available in NuGet does not support .NET Standard, so I can not use the target standard .NET test projects.
However, according to the compatibility matrix , .NET Standard 1.6 is compatible with .NET Core 1.0.
So I have test builds oriented to .NET Core 1.0, and links to my system test builds that target .NET Standard 1.6 - and that works fine.
Question is a good decision in the future?
I have not found a roadmap for MSTest, and I wonder if this trick will work when I upgrade to .NET Standard 2.0?
Should I change my test environment to something else, do you have more modern support like XUnit?
Even the Microsoft documentation points to XUnit , do they refuse MSTest?
Please note that this is not a duplicate , since my question is about the future prospects, and not just the current state of affairs.
source share