Skip to content

abelikt/robot-remote-server-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Robotframework remote library interface for Rust

This is an approach to build a Robotframework remote library interface for Rust.

Status: Proof of concept

See also for the Python reference implemenation:

https://github.com/robotframework/RemoteInterface

Official Docu:

https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#remote-library-interface

To-Dos

  • Check what tests can we reuse from the Python reference implemenation
  • Add more tests / examples for scalars, lists and dicts
  • Implement dynamic dispatch

Observed API calls

Traced with wireshark on the Python Example.

  • get_library_information // for the newer single call API
  • get_keyword_names // for the dynamic library API
  • get_keyword_tags // for the dynamic library API
  • get_keyword_documentation // for the dynamic library API
  • get_keyword_arguments // for the dynamic library API
  • get_keyword_types // for the dynamic library API
  • run_keyword

TODO: We should swith to the newer api. Is there a useful example?

See also:

https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-640

Usage

Currently, this should work with a decent Linux system with an installed Rust toolchain.

Start the server:

cd robot-remote-server
cargo run

Start the client:

python3 -m venv venv
. venv/bin/activate
pip install robotframework
robot -d Reports tests/PythonRemoteServer_example/tests.robot

About

Robotframework remote library interface for Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published