Skip to content

Running Unit Tests in a TFS Build

Matthew Manela edited this page Oct 8, 2016 · 4 revisions

Follow the directions shown on this blog post Javascript Unit Tests on Team Foundation Service with Chutzpah

FAQ

  • How can I enable Chutzpah tracing on the build server?

You need to set the EnableTracing flag in the .runsettings file:

<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
 <ChutzpahAdapterSettings>
   <EnabledTracing>true</EnabledTracing>
 </ChutzpahAdapterSettings>
</RunSettings>
  • How can I change Chutzpah's level of parallelism?

You need to set the MaxDegreeOfParallelism property in the .runsettings file:

<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
 <ChutzpahAdapterSettings>
   <MaxDegreeOfParallelism>2</MaxDegreeOfParallelism>
 </ChutzpahAdapterSettings>
</RunSettings>