Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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)