Skip to main content

Adding Labels to Test Suites

FreeTeamsScaleEnterpriseSelf-HostedDedicated

Labels help you organize, categorize, and filter your test suites effectively. Keploy provides flexible labeling options that allow you to add labels to individual test suites or multiple suites at once.

Overview

The labeling system includes:

  • Individual Labeling: Add labels to specific test suites
  • Bulk Labeling: Apply labels to multiple suites simultaneously
  • Label Management: Create, edit, and delete custom labels
  • Filtering: Use labels to filter and organize your test collection

Adding Labels to Individual Test Suites

Method 1: Using the Three Dots Menu

  1. Navigate to Test Suites

    • Go to your Test Suites Dashboard
  2. Access Suite Options

    • Locate the test suite you want to label
    • Click the three dots (⋮) menu next to the test suite name
  3. Select Add Label Option

    • From the dropdown menu, click "Add Labels"

Add Label

Label Assignment Interface

When you open the label assignment dialog, you'll see:

Existing Labels Section

🏷️ Available Labels
├── 📊 Priority
│ ├── high-priority (P0)
│ ├── medium-priority(P1)
│ └── low-priority(P2)

Assigning Existing Labels

  1. Browse Categories

    • Expand label categories to see available options
    • Use the search box to find specific labels quickly
  2. Select Labels

    • Click on labels to select them
    • Selected labels will be highlighted or marked with a checkmark ✓
    • You can select multiple labels from different categories
  3. Apply Labels

    • Review your selections in the "Selected Labels" preview
    • Click "Apply Labels" to assign them to the test suite

Creating New Labels

Creating During Assignment

  1. Open Label Dialog

    • Follow the steps above to open the label assignment interface
  2. Create New Label

    • Click "Create Custom Label"
    • Enter label details in the creation form
  3. Label Creation Form

    • For Example:
    Label Name: [smoke-critical]
    Color: [🔴] (color picker)

Bulk Label Assignment

Using Checkbox Selection

  1. Select Multiple Suites
    • Navigate to the Test Suites list
    • Use checkboxes to select multiple test suites
    • After selecting suites, Click "Add Labels" or "Create Custom Labels" button

Label Management Best Practices

Naming Conventions

  1. Use Consistent Formatting

    ✅ Good Examples:
    - team-frontend
    - priority-high
    - env-production
    - type-smoke-test

    ❌ Avoid:
    - TeamFrontend
    - HIGH_PRIORITY
    - prod env
    - smoke test type
  2. Category-Based Organization

    Priority: critical, high, medium, low
    Environment: production, staging, development
    Type: smoke, regression, integration, e2e
    Team: frontend, backend, qa, devops
    Status: active, deprecated, experimental

Labels are a powerful organizational tool that help you maintain order in large test collections and enable efficient test management workflows.