title: Get XML Reports in TeamCity from Google Test
body: <p>I am trying to figure out how to run unit tests, using Google Test, and send the results to TeamCity. </p>
  
  <p>I have run my tests, and output the results to an xml, using a command-line argument <code>--gtest_output="xml:test_results.xml"</code>.</p>
  
  <p>I am trying to get this xml to be read in TeamCity. I don't see how I can get <a href="http://confluence.jetbrains.com/display/TCD7/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ImportingXMLReports" rel="noreferrer" title="XML Reports">XML Reports</a>  passed to TeamCity during build/run...  </p>
  
  <p>Except through <a href="http://confluence.jetbrains.com/display/TCD7/XML+Report+Processing" rel="noreferrer" title="XML Report Processing">XML report Processing</a>:</p>
  
  <p>I added XML Report Processing, added Google Test, then... 
  it asks me to specify monitoring rules, and I added the path to the xml file... I don't understand what monitoring rules are, or how to create them...</p>
  
  <p>[Still, I can see nowhere in the generated xml, the fact that it intends to talk to TeamCity...]</p>
  
  <p>In the log, I have:</p>
  
  <pre><code>Google Test report watcher
  [13:06:03][Google Test report watcher] No reports found for paths:
  [13:06:03][Google Test report watcher] C:\path\test_results.xml
  [13:06:03]Publishing internal artifacts
  </code></pre>
  
  <p>And, of course, no report results.</p>
  
  <p>Can anyone please direct me to a proper way to import the xml test results file into TeamCity ? Thank you so much !</p>
  
  <p>Edit: is it possible that XML Report Processing only processes reports that were created during build ? (which Google Test doesn't do?) And is ignoring the previously generated reports, as "out of date", while simply saying that it can't find them - or are in the wrong format, or... however I should read the message above ? </p>