Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8695387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:01:16+00:00 2026-06-13T01:01:16+00:00

I am trying to figure out how to run unit tests, using Google Test,

  • 0

I am trying to figure out how to run unit tests, using Google Test, and send the results to TeamCity.

I have run my tests, and output the results to an xml, using a command-line argument --gtest_output="xml:test_results.xml".

I am trying to get this xml to be read in TeamCity. I don’t see how I can get XML Reports passed to TeamCity during build/run…

Except through XML report Processing:

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…

[Still, I can see nowhere in the generated xml, the fact that it intends to talk to TeamCity…]

In the log, I have:

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

And, of course, no report results.

Can anyone please direct me to a proper way to import the xml test results file into TeamCity ? Thank you so much !

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 ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:01:17+00:00Added an answer on June 13, 2026 at 1:01 am

    I found a bug report that shows that xml reports that are not generated during the build are ignored, making a newbie like me believe that they may not be generated correctly.

    Two simple solutions:

    1) Create a post build script

    2) Add a build step that calls the command line executable with the command-line argument. Example:

    Add build step

    enter image description here

    Add build feature – XML report processing

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to figure out how I can run unit tests on a class
I'm trying to figure out the best way of writing a unit test for
I am trying to run unit tests in Pydev using IronPython. When I try
I'm trying to figure out how to register a type at run-time using unity.
I am currently trying to figure out ways to run Lua scripts using FastCGI
We're using cdh3u4, Hadoop and HBase. I'm trying to run a unit test that
I'm trying to figure out where java Applets that I run from the browser
trying to figure out why this is happening - I have an input text
I was dealing with hibernate, trying to figure out the run-time class behind proxied
I'm trying to figure out how to run a bat file that stops a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.