Setting up MS Tests 2010 on TeamCity?

I recently installed VS 2010 Ultimate and decided to move the project to TeamCity. The project contains several *. DLL with internal tests.

In VS 2008, the installation procedure at the build stage will consist of:

  • Setting the path to the * .sln file
  • Configuring VS (2008)
  • Setting target (s), such as: "Clear assembly"
  • Configuration settings, for example: "Debugging"
  • Platform customization, such as: "any processor"
  • Check the Enable MSTest Tests box.
  • Setting the path to MSTest.exe (selected from the list of shortcuts)
  • List of build files: (1st query calling the DLL: Microsoft.VisualStudio.QualityTools.MSBuildTasks.dll)
  • MSTest * .trx test result file selection

In VS2010, the disappeared dll file disappeared and I cannot configure MSTests, does anyone have a recipe for how to do this?

edit: replace the configuration file with the * .trx file line

+3
source share
1 answer

I am currently using MSTest with VS2010 on TeamCity, and the tests work fine. These are the only steps I had to take for the MSTest part:

  • Check the Enable MSTest Tests box.
  • Setting the path to MSTest.exe (selected from the list of shortcuts)
  • List of build files

I did not need to select the .trx test result file or add Microsoft.VisualStudio.QualityTools.MSBuildTasks.dll to the list of assemblies, and all other fields in the "MSTest Settings" section are empty.

+6
source

Source: https://habr.com/ru/post/1755359/


All Articles