Skip to content

Instantly share code, notes, and snippets.

@guykisel
Created August 22, 2014 23:02
Show Gist options
  • Select an option

  • Save guykisel/308123a3e0676ce8dcf5 to your computer and use it in GitHub Desktop.

Select an option

Save guykisel/308123a3e0676ce8dcf5 to your computer and use it in GitHub Desktop.

Revisions

  1. guykisel created this gist Aug 22, 2014.
    208 changes: 208 additions & 0 deletions tuning.robot
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,208 @@
    *** Settings ***
    Resource resources/recommendation_resource_1.robot
    Resource resources/recommendation_resource_2.robot
    Library resources/RecLibrary1.py
    Library resources/RecLibrary2.py WITH NAME Rec Library 2 With Custom Name

    *** Test Cases ***
    Keyword From Library Not Imported
    [Documentation] FAIL
    RecLibrary3.Keyword Only In Library 3

    Implicit Keyword With Typo
    [Documentation] FAIL
    Recoord log message

    Explicit Keyword With Typo
    [Documentation] FAIL
    RecLibrarry1.Record log message

    Explicit Keyword Similar To Keyword In Imported Library
    [Documentation] FAIL
    RecLibrary1.Keywword Only In Library 1

    Implicit Keyword Similar To Keyword In Imported Library
    [Documentation] FAIL
    Keywword Only In Library 1

    Explicit Keyword Similar To Keyword In Imported Resource
    [Documentation] FAIL
    recommendation_resource_1.Keywword Only In Resource 1

    Implicit Keyword Similar To Keyword In Imported Resource
    [Documentation] FAIL
    Keywword Only In Resource 1

    Implicit Long Alphanumeric Garbage Keyword
    [Documentation] FAIL
    fhj329gh9ufhds98f3972hufd9fh839832fh9ud8h8

    Explicit Long Alphanumeric Garbage Keyword
    [Documentation] FAIL
    fhj329gh9ufhds98.f3972hufd9fh839832fh9ud8h8

    Implicit Special Character Garbage Keyword
    [Documentation] FAIL
    *&(&^%&%$#%#@###!@!#@$$%#%&^<">:>?:""{+

    Explicit Special Character Garbage Keyword
    [Documentation] FAIL
    *&(&^%&%$#.%#@###!@!#@$$%#%&^<">:>?:""{+

    Implicit Keyword Similar To User Keyword
    [Documentation] FAIL
    A Uuser Keyword

    Run Implicit Missing Keyword
    [Documentation] FAIL
    Run Keyword missing keyword

    Run Implicit Missing Keyword Similar To Both Libraries
    [Documentation] FAIL
    Run Keyword kkeyword in both libraries

    Run Explicit Missing Keyword Similar To Both Libraries
    [Documentation] FAIL
    Run Keyword RecLibrary1.kkeyword in both libraries

    Run Explicit Missing Keyword
    [Documentation] FAIL
    Run Keyword RecLibrary1.missing keyword

    Run Missing Keyword And Ignore Error
    [Documentation] FAIL
    Run Keyword And Ignore Error missing keyword

    Run Whitespace
    [Documentation] FAIL
    Run Keyword ${SPACE}

    Do Atcion Capitalized
    Do Atcion

    Do Atcion Lowercase
    do atcion

    Do Atcion All Caps
    DO ATCION

    Do Atcion Underscore
    do_atcion

    Do Atcion Explicit
    RecLibrary1.DoAtcion

    Do Atcion Spacing
    d o a t c i o n

    Do Atcion No Whitespace
    DoAtcion

    Keyword With Periods
    Kye.word with_periods

    Similar User Keywords
    Similar User Keyword 4

    Similar Keywords In Resources And Libraries
    Similar Kw

    Non-similar Embedded User Keyword
    Unique misspelled kkw blah

    Embedded Similar User Keywords
    Embbedded User joe Argument password Keyword 3

    Existing Non-ASCII Keyword
    hyvää öytä

    Wrong Library Name
    NoSuchLib.Nothing

    Wrong Library Name 2
    NoSuchLib.Action

    BuiltIn Similar To Other BuiltIns
    Atcion And Ignore Problems

    Substring of Long Keyword
    Really Long Keyword

    Similar To Really Long Keyword
    Reallly Long Keyword that doesn't end for a while

    Keyword With Arguments Without Correct Spacing
    Record message=hello world level=WARN

    Misspelled Keyword With Arguments
    recoord message=hello world level=WARN

    Just Library Name
    RecLibrary1

    Leading Period Keyword
    .Nothing

    Leading Period Library Name
    .RecLibrary1

    Ending In Period Keyword
    Nothing.

    Ending In Period Library Name
    RecLibrary1.

    Period
    .

    Underscore
    _

    Dollar
    $

    Curly Brace
    {}

    More Non-ASCII
    ლ(ಠ益ಠლ)

    Non-ASCII But Similar
    Similär Kw

    Many Similar Keywords
    RecLibrary1.Data

    *** Keywords ***
    A User Keyword
    No Operation

    Similar User Keyword 1
    No Operation

    Similar User Keyword 2
    No Operation

    Similar User Keyword 3
    No Operation

    Embedded User ${hello} Argument ${world} Keyword 1
    No Operation

    Embedded User ${foo} Argument ${bar} Keyword 2
    No Operation

    Unique ${i} Kw ${j}
    No Operation

    Key.word.with periods.
    No Operation

    hyvää yötä
    No Operation

    Really long keyword that does not end for quite a while
    No Operation

    Similar Kw 5
    No Operation