0.0.5 • Published 11 years ago

rfremoteserver v0.0.5

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

Build Status

robotremoteserver.js

Robot Framework Remote Server written in Node.js, loosely based on https://github.com/mkorpela/RoboZombie/blob/master/robozombie.coffee

Installation

Will upload to npm soonish

Usage

Create a class and that inherits from RemoteServer, e.g;

var TestLibrary = function() {
  var self = this;

  self.my_example_keyword = function(params, callback) {
    // do testy stuff here then either pass the keyword using this.pass or this.fail
    return this.pass(callback);
  }
};

util.inherits(TestLibrary, RemoteServer);

var server = new TestLibrary();
server.start_remote_server();

Example test case file for Robot Framework to use the above remote keyword library

*** Settings ***
Library    Remote    http://localhost:${PORT}

*** Variables ***
${PORT}    8270

*** Test Cases ***

Test Keyword
    ${ret}=   My Example Keyword
    Log    ${ret}
0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago