Create and add Test Cases

Test Cases allow you to visualise your test coverage across your user journey map. This allows you to easily spot gaps in your test suites and brings testing data into the coversation allowing those in a business role to understand the risk of changing areas without an appropriate level of testing and those in a delivery role to identify where testing could be increased or may be redundant.

An example user journey map

Create your Test Cases

help-building-map-toolbar.png You can create a Test Case by selecting the ‘Layers’ tool from the left-hand toolbar.

The Layers tool allows for different datasets to be visualised across the User Journey Map. One of the available Layers is the Test Coverage Layer which uses the Test Cases in the system to calculate the Test Coverage metric.

You can find a list of all test cases linked to Steps and Connections in the current map version by pressing the ‘Configure’ button on the Test Coverage card in the Layers list. help-test-configure.png

You can access a list of all test cases (used by map entities or not) by pressing the ‘Edit Test Cases’ button at the top of the test case list. help-test-edit-tests.png

In the ‘Edit Test Cases’ list you can create a new Test Case by pressing the ‘Add new Test Case’ button, this will create a new Test Case in the list. help-test-add-test.png

The new Test Case will have the name ‘New Test' and an automatically generated external ID but you can change these by pressing the ‘Edit Test Case’ button on the list item and pressing ‘Save Changes’ once you’ve updated the properties in the ‘Test Case Editor’ form.

Add test case into your map

Once you have created your test case, the test case needs to be associated with the relevant steps and connections. You can do this by editing each step or connection individually or by using multi-select . help-test-tag-tests.png

Once you’ve selected an entity you will see a form showing all the properties that can be edited within the form you can tag the entities with your test case in the ‘Linked Entities’ section by either selecting or search for your test case in the ‘Search Test Cases’ dropdown and pressing the ‘Add’ button once you’ve selected it.

You can remove a test case by clicking the 'X' button on the right end of the chip underneath the selection input.

View Test Case coverage within your map

Once you have added a test case to a step it will become accessible via the Test Coverage layer configuration options.

Select the Layers tool from the left hand toolbar and as before press the ‘Configure' button. Because your test case is now linked to a map entity in the current version you can see it in the list of test cases.

help-test-select-tests.png Click the test case card to activate it’s inclusion in the test coverage calculation and press the back arrow in the top left to go back to the Layers list. Once on the Layers list you can activate the Test Coverage layer by clicking it (be sure to not click the ‘Configure’ button though) and this will change the colour of the entities on the map.

help-test-enable-layer.png Entities covered in green represent those that have been covered by the configured test cases and those in red represent those that have not been covered by the configured test cases.

The Test Coverage layer will give you some information about the overall percentage of entities covered by the configured tests cases as well as a break down of how that percentage is calculated.

If you want to add or remove test cases from the test coverage calculation you can do so by pressing the ‘Configure’ button on the Test Coverage layer card and clicking the test cases to toggle their inclusion.

Ready to dive in

Create a free account today