Running only certain test projects/dlls on build for product on Cobalt Platform

We just got code coverage builds set up for the GTLRMaxwell product and were wondering if it was possible to somehow exclude the Cobalt Platform unit test projects from our test runs. Does anyone know how to do this in Team Build/TFS?

Best Answer

  • Team build does not have an option to exclude a perticular dll. However the dlls that should execute during the build can be defined using wild characters (like *Test, GTLR*.Test.dll etc). So if you can defined all the dlls that need to be executed using a single "pattern" using wild characters then you just need to update the below value in the the build's assoicted "proj" file...
    Thanks

Answers

  • Are we allowed to modify the .proj build files? I have experience with MSBuild project files/scripts but don't know exactly where they are located in TFS.
  • You can contact the CO_CM_Tech team and they will make the changes for you.