Commit 64aa747e authored by Naum Spaseski's avatar Naum Spaseski
Browse files

add test example

parent 81f5c09a
Loading
Loading
Loading
Loading

requirements.txt

0 → 100644
+1 −0
Original line number Original line Diff line number Diff line
robotframework-ncclient
 No newline at end of file

test.robot

0 → 100644
+19 −0
Original line number Original line Diff line number Diff line
*** Settings ***
Library           NcclientLibrary

*** Test Cases ***
Test Login
    ${config} =    Create Dictionary    host=A.B.C.D    port=830    username=user    password=password    hostkey_verify=False
    Connect    &{config}
    Get Server Capabilities
    Should Contain    ${config}     an_item

test in gherkins
    Given the Maker has started a game with the word "silky"
    When the Breaker joins the Maker's game
    And some other things
    Then the Breaker must guess a word with 5 characters

*** Keywords ***
the Maker has started a game with the word "silky"
    No Operation