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

Compare with Current View Page History

« Previous Version 5 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.


(((((((( PIC HERE ))))))))


The page is split into two, the top part is the summary field and the table underneath lists the tests. The summary field 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 summary field. 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.

Note: Unit tests can be viewed as soon as the stage they were generated in has completed. Be sure to refresh the page once the build has completed to get an accurate representation of unit tests in the summary field.


Navigating Unit Tests

Using "Display By"

The Display By drop down changes the way tests are 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.

((( PIC test view))))


Fixture/Namepace/Assembly Views

When test view isn't selected you view tests by fixture, namespace or assembly. 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 but substitute the result field for a "Total" field which is a count of the number of tests in them.


((( PIC fixture view )) 

Using Summary Fields

Each unit test result in the summary field is clickable and will filter the table below it to show only those types of tests. Clicking a summary field will also take into account the current filter of test results. For example, if you're viewing all passed tests for a certain assembly then clicking on the Error summary field will show all error'ed tests for that assembly. It will also use the table's search field to filter results and further filters the tests based on what type of view you're currently on (Tests, Fixtures, Namespace, Assembly).


Building up a filter

A filter will take into account the current view type (Tests, Fixture, Namespace, Assembly)








  • No labels