3.33.4. Working with the Problems View to view and fix Teststyle problems
Prev | 3.33. Working with the Teststyle guidelines | Next

### 3.33.4. Working with the Problems View to view and fix Teststyle problems

Once you have activated (Section 3.33.2, “Activating Teststyle for a Project”) and configured (Section 3.33.3, “Configuring Teststyle for a Project”) Teststyle for a Project, you will be informed when your chosen guidelines are not being upheld. The central place for viewing your Teststyle information, warnings and errors is the Problems View.

For each Teststyle message, you will see an entry in the Problems View, with the information on where the guideline is not being upheld. You can use the Problems View to view the rule that has been flouted and also to fix the problem using the Quick Fix option.

#### 3.33.4.1. Viewing the broken Teststyle rule from the Problems View

1. Select the entry in the Problems View whose rule you want to view.

2. Right-click in the Problems View and select:

   Show Teststyle Rule

   from the context-sensitive menu.

3. The Project properties dialog appears, opened at the Teststyle page. The guideline that resulted in the entry in the Problems View is selected.

4. From here you can adapt the guideline if required (Section 3.33.3, “Configuring Teststyle for a Project”).

#### 3.33.4.2. Using Quick Fix to fix the problem

1. Select the entry or entries you want to work on from the Problems View.

2. Right-click in the Problems View and select:

   Quick Fix

   from the context-sensitive menu.

3. The Quick Fix dialog (Figure 3.44, “Quick Fix”) will appear with the options available to fix the problem. The options may range from opening an editor to automatically fixing the problem.

4. Select the option(s) you want to carry out and click ”OK”.

5. The option(s) you chose will be executed.

Figure 3.44. Quick Fix