# Test Case Naming Convention Broken

> **Rule ID**: `TA-NMG-002`

**Rule ID**: `TA-NMG-002`

**Scope**: Workflow

## Description

This rule checks for test cases that match a specific RegEx. By default, the RegEx value is empty.

:::important
You can apply this rule only for test cases that have been published. This helps you to exclude template files or temporary backups.
:::

## Recommendation

Set a test case naming convention as a RegEx to check test cases against it.

## Configure Rule

1. In the **Design** ribbon, navigate to **Analyze File** &gt; **Workflow Analyzer Settings**.
2. Go to **Workflow Analyzer** to view the rules.
3. Select **Test Case Naming Convention Broken** and configure the default action.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-187086-c5bb88e6.webp)
4. In the **RegEx for Naming Convention** enter a RegEx against which the test case filenames will be matched.
5. Click **OK** to save changes.

## Reset to Default Value

To reset the rule to the default configuration, right-click it and select **Reset to default**. The RegEx value will be empty.
