robotserver 1.0.1 copy "robotserver: ^1.0.1" to clipboard
robotserver: ^1.0.1 copied to clipboard

SDKDart
outdated

Robot server

RobotServer #

* A dart module providing the [robot framework](http://www.robotframework.org) remote library interface.
* For mac [mac](https://testersdock.com/robot-framework-install-mac/)
* Examples [tests](https://robotframework.org/robotframework/latest/libraries/BuiltIn.html)

Usage #

Start your server

  final rrs = RobotServer(MyTest('teste'));
  rrs.serve();

Run robot local robot tests.robot and add yours tests

*** Settings ***
Library           Remote    http://${ADDRESS}:${PORT}    WITH NAME    MyTest

*** Variables ***
${ADDRESS}        127.0.0.1
${PORT}           8270
${MESSAGE}        Hello, wold!
${isExist}        ${TRUE}
${variable1}      teste

*** Test Cases ***
Describe myTest
    ${myTest details} =    MyTest.describe
    Log    ${myTest details}
    Should Be True     "${variable1}" == "${myTest details}"


Another Test
    Should Be Equal   ${MESSAGE}    Hello, wold!
    Should Be Equal   ${MESSAGE}    Hello, wold!
    Run Keyword If     ${isExist} is ${FALSE}  ELSE  No Operation


Gherkin
    [Documentation]  This test case fails a dry-run
    Given Run Keyword If  3 == 4  Fatal Error  ELSE  No Operation
    When Run Keyword If  3 == 4  Fatal Error  ELSE  No Operation
    And Run Keyword If  3 == 4  Fatal Error  ELSE  No Operation
    Then Run Keyword If  3 == 4  Fatal Error  ELSE  No Operation

No Gherkin
    [Documentation]  This test case works just fine
    Run Keyword If  3 == 4  Fatal Error  ELSE  No Operation

Contributing #

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

0
likes
90
pub points
0%
popularity

Publisher

unverified uploader

Robot server

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

xml, xml_rpc

More

Packages that depend on robotserver