Tags & execution control

Control Restlyn executions with tags for retries, selective runs, debugging, and environment overrides.

Restlyn supports fine-grained test control using scenario-level tags.


🏷️ Available Tags

@only

Run this scenario only:

@only
Scenario: Login happy path

@skip

Skip this scenario:

@skip
Scenario: Broken case

@debug

Enable debug logging (e.g., print full response):

@debug
Scenario: Print full response

@retry(n)

Retry failed test n times:

@retry(2)
Scenario: Retry if flaky

📋 Tag Output

Tags appear in:

  • restlyn-report.json
  • HTML & PDF reports

⚠️ Invalid Tags

Use the supported spellings above; do not rely on unknown tags being applied.

@title:"My Custom Title"

Overrides the default scenario title in test reports.

@title:"User Login Flow"
Scenario: Log in and check profile

✅ Where to Place Tags

Tags must be placed above the Scenario: line in your .feature file.

Feature: Authentication

@retry(2) @debug @title:"Login API Check"
Scenario: Validate login
  Given base URL is "https://api.example.com"
  When I POST "/login" with:
    | email | user@example.com |
    | password | secret |
  Then response status should be 200

🧪 Combining Tags

You can combine multiple tags as needed — Restlyn will interpret them correctly.


🧩 Future Support (Planned)

  • @group: for grouping tests
  • @env: for inline environment overrides

Tags make Restlyn flexible for real-world workflows and CI pipelines!

Migrated from the Restlyn documentation, with reviewed example and configuration corrections. Original Restlyn documentation.