robotframework-tidy icon indicating copy to clipboard operation
robotframework-tidy copied to clipboard

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

Open CorentinHache opened this issue 1 year ago • 0 comments

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

CorentinHache avatar Sep 03 '24 07:09 CorentinHache