MarketSquare / MarketSquare/robotframework-tidy

Define a "Test Tags" when all the Test Case of a Test Suite share the same tag

Open
#710 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
RobotFramework
Stars
113
Forks
16
PR merge metrics
No merged PRs in 30d

Description

When all the Test Case of a Test Suite share the same [Tags], the related tag have to be move in the "Test Tags" section of the test suite.

Example :
Before ->

*** Settings ***
Documentation       Example

*** Test Cases ***
Example test 1
    [Documentation]    Example test 1
    [Tags]    beta  
    My Test Keyword

Example test 2
    [Documentation]    Example test 2
    [Tags]    beta  alpha
    My Test Keyword

After ->

*** Settings ***
Documentation       Example
Test Tags    beta

*** Test Cases ***
Example test 1
    [Documentation]    Example test 1
    My Test Keyword

Example test 2
    [Documentation]    Example test 2
    [Tags]    alpha
    My Test Keyword

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Start by locating the formatter logic for suite-level and test-case [Tags], then verify the before/after example: shared tags move to Test Tags, while non-shared tags remain on individual test cases.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.