Using .Net Runner with the vstest command
Answered
Could anyone help with an example? I am migrating from script-based vstest.console tests, running against a dll of tests and it seems that it will not work on dlls, only .exes ("JetBrains.TeamCity.Utils.CommandLineParseException: No entry point in the assembly ).
Also the use of the Path property is not clear - is this the path to the dotnet.exe or to an exe containing the tests?
Thanks
Richard
Please sign in to leave a comment.
In the common scenario test assemblies are dlls, but for .net core is better to use command "dotnet test" and to specify a test project.
Is it ".NET runner"? Could you share more details? TeamCity version, TeamCity runner and parameters, .NET framework, test engine and a build log file if it is possible. Maybe you are trying to run tests for non testing assemblies?
Any thoughts from anybody?
Thanks Niikolav,
TeamCity Professional 2019.2.2 (build 71923)
I managed to get this working another way
Thanks for the response
Richard