You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

When navigating to the Unit Tests tab and assuming some tests have run, you'll see a web page similar to the one pictured below. The page is split into two, the top part is the test result header and the table underneath lists the tests. 

Note: Unit tests are created at the end of each stage they were run in. Be sure to refresh the page once the build has completed to get an accurate representation of unit tests in the result header.


Navigating Unit Tests

Test Result Header

Each type of unit test result in the test result header is clickable and will filter the table below it to show only those types of tests. The result header will vary depending on the results of the tests. To keep things simple we've chosen to hide/show certain unit test results in the result header. Unit tests can have many different results so if there are no tests for a certain result we hide it (except for New Failures). Regardless of the test outcomes we always show New Failures as the default view. The complete list of test result headers are: Total, Passed, Fixed, Failed, New Failures, Error, Inconclusive and Not Run.

"Display By"

The Display By drop down changes the way the unit test data is viewed.

Test View

When Test view is selected you will see a list of tests with its name, fixture, namespace, assembly, result and duration. All columns are sortable but only name, fixture, namespace and assembly are taken into account when the search feature is used. If a test's name is clickable then the test has outputted some kind of error message. Clicking on the test will show you the error. Additionally, if a test has previously failed then the message will also contain a link to the build the test first failed in.


Fixture/Namepace/Assembly View

An alternate way of viewing unit test data is to show the test fixtures, namespaces or assemblies. These 3 are hierarchical so assembly will show just the assembly name, namespace will show assembly and namespace and fixture shows all three. These views have a duration column which is a sum of all the tests underneath it, but substitute the test view's result field for a "Total" field which is a count of the number of tests in the view type. The follow image shows all Failed tests displayed by Fixture name.


Filter Breadcrumb

The filter breadcrumb is located to the right of the "Display By" drop down box. The Filter Breadcrumb is constructed as you start clicking links or selecting a view type. 








  • No labels