Advanced Tags & Control
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:
verify-report.json- HTML & PDF reports
โ ๏ธ Invalid Tagsโ
Typos like @onlyy are ignored with a warning.
@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!
โก๏ธ Next: Configuration