I am working on Visual Studio for Mac. I am using test project with
- MSTest.TestAdapter
- MSTest.TestFramework
The project target is .NET Framework 4.6.1 (I need .NET Framwork to use Xamarin.UITest)
I can run this test library in the IDE by right clicking the project and selecting "Run Item".
How can I run those tests via terminal on a Mac?
It's not working with:
dotnet test
because it is not .NET Core.
On windows there seems to be a MSTest.exe. I couldn't find it on the mac via the "which" command.
Is there a way to start this test on mono with an executable that runs the test adapter? Like a mstest equivalent to nuint-console on a Mac.
Edit: The question: How to run Mstests on a Mac? doesn't work for this problem because (see above) the tests aren't able to run under .NET Core. They are targeting the .NET Framework.