Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Scala remote library #6

Open
jg8481 opened this issue Feb 1, 2019 · 2 comments
Open

New Scala remote library #6

jg8481 opened this issue Feb 1, 2019 · 2 comments

Comments

@jg8481
Copy link

jg8481 commented Feb 1, 2019

FYI to @pekkaklarck. This is a duplicate of this other issue I opened below, because I was not sure where this should go.

robotframework/robotframework.github.com#118 (comment)

It works fine as-is, anyone can use this for creating Scala keywords, and I think I provided enough instructions on how to run it. I added the Thomas Jaspers tutorial to provide people information on how to add more keywords. In the near future, I will be adding more ideas and experiments I have for this library.

https://github.com/jg8481/robotframework-scala-remote-library

@jg8481
Copy link
Author

jg8481 commented Feb 10, 2019

I have made more updates to this library. Here is a brief summary.

  • Created a Docker container and docker-compose file that will build a simple Scala Native application and run the Robot Framework Scala Remote Library to test the native executable.
  • Created a working example of a Scala Native application that will take text from the command line and pipe it into a text file.
  • Created a working Ammonite Library POC. Improvements and experiments will be ongoing. One of the interesting advantages of the Ammonite Library is that it does not require Maven to compile or run. Changes to the Ammonite Library can be done while the Scala keyword server is running. In general Ammonite has many capabilities. For example it has the scalaj-http library already built-in. Please check out the following for more information --> http://ammonite.io
  • Created a working ScalaCheck keyword driven by the Ammonite Library POC.

Here is a screenshot of two ScalaCheck keyword results after fuzz testing a web API (https://jsonplaceholder.typicode.com/) and the Scala Native application running in a Docker container.

results-of-robotframework-scala-remote-library-examples-desktop-and-docker-versions

@jg8481
Copy link
Author

jg8481 commented Feb 13, 2019

I have an update. I finally finished the C keywords. I placed them in a Scala Native executable that performs memory and CPU checks. I will be adding more to these tests soon.

jg8481/robotframework-scala-remote-library@36ce784

image

@jg8481 jg8481 changed the title New Scala remote library example New Scala remote library Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant