robotframework / HowToWriteGoodTestCases

General guidelines for writing good test cases using Robot Framework
412 stars 192 forks source link

data-drive-test example has wrong (swaped) title #6

Closed cadu-leite closed 5 years ago

cadu-leite commented 5 years ago

Topic link: https://github.com/robotframework/HowToWriteGoodTestCases/blob/master/HowToWriteGoodTestCases.rst#data-driven-tests

I believe the titles are inverted ... "test Case" title should be "Keywords" and "vice-versa"

*** Test Cases ***  # <-- ERROR ...  it should be "keywords"
    USERNAME             PASSWORD  
    Invalid Username      invalid              ${VALID PASSWORD}
...

e

*** Keywords ***  # <-- ERROR ...  it should be "Test Cases"
Login with invalid credentials should fail
    [Arguments]    ${username}    ${password}
    Input Username    ${username}
   ...
Tattoo commented 5 years ago

Thanks for contributing! However, the headings are correct in this order.