How to run MSTest tests via command line or Azure DevOps pipelines?
Use dotnet test CLI for .NET Core MSTest projects:
dotnet test YourTestProject.csproj
In Azure DevOps, use the Visual Studio Test task or the DotNetCoreCLI task to run tests
during builds and releases.