What is actualy the difference between MSTest.TestAdapter vs MSTest.TestFramework and when do I need which one?
In the NuGet descriptions you can read:
MSTest.TestAdapter
The adapter to discover and execute MSTest Framework based tests.
MSTest.TestFramework
This is MSTest V2, the evolution of Microsoft's Test Framework. + To discover and execute tests install MSTest.TestAdapter.
Well, not very helpful and I always install both because I'm never sure which one I should take. Strangely that in one of my test projects I only have the MSTest.TestFramework (I guess by accident) and ReSharper still can discover tests.
My questions about these packages are:
- Do you really always need to install both of them?
- Why does it work even without the
TestAdapter? - What can I do with the
TestFramework? When would I need this one?
The project page on GitHub doesn't help much either. The only link
You can read more about MSTest V2 here.
navigates to a page that only says how great and open-source it is but nothing specific about either of the packages.