TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Viewing Tests and Configuration Problems

Last modified: 20 April 2023

Viewing Currently Failing Tests and Build Configuration Problems for a Project



To view tests and build configurations that are currently failing in a project, open Project Home page and go to the Current Problems tab.

Current problems

Overview of Current Problems



Starting with TeamCity 7.1 to get a glance of current problems in your project, or in several projects, you don't need to go to the Project home page, you can see the number of failing tests in build configurations and other problems right on the Overview page.

Overview problems
Note the presentation of problems is shortened if your browser does not have enough horizontal space.
Overview problems narrow

Viewing Tests Failed within Last 120 Hours



To view all the tests failed within last 120 hours for a project, from the Project Home page go to the Current Problems tab and click the view all tests failed within the last 120 hours link. The Problematic Tests tab is opened, where for each test you can view the total number of test runs, failure count and last time the test failed.

Problematic tests

Viewing All Tests for a Build



To view all the tests for a particular build, open the build results page, and navigate to the Tests tab. Viewing Tests and Configuration Problems On this page:

Viewing Particular Test's History



To navigate to a particular test's history, click the arrow next to the test name and select Test History from the drop-down as shown in the currentProblems above. There are several places where tests are listed and from where you can open Test History. For example:

  • Project Home page | Current Problems tab

  • Project Home page | Current Problems tab | problematicTests

  • Build Results page | Overview tab

  • Build Results page | Tests tab

  • Projects | <build with failed tests> | build results drop-down

Clicking the Test history link opens the Test details page where you can find following information:

  • Test details section including test success rate and test's run duration data:

  • Test duration graph. For more information, please refer to the TestDurationGraph description below.

  • Complete test history table, that contains information about the test status, its duration, and information on a build this test was run.

Viewing Tests and Configuration Problems

Test Duration Graph



The test duration graph is useful for comparing the amount of time it takes individual tests to run on the builds of this build configuration.

Test duration graph

Test duration results are only available for the builds which are currently in the build history. Once a build has been Clean-Up this data is no longer available.

You can perform the following actions on the Test Duration Graph:

  • Filter out the builds that failed the test by clearing the Show failed option.

  • Calculate the daily average values by selecting the Average option.

  • Click a build's test duration dot plotted on the graph to jump to the corresponding build results Build Results page.

  • View a build summary in the tooltip of a build's test duration dot, and navigate to the corresponding Build Results page.

  • Filter information by agents by selecting or clearing a particular agent or by clicking All or None links to select or clear all agents.