2024-02-06 –, Workshop about creating libraries for Robot Framework
Creating your own libraries is a breeze - this statement on the Robot Framework website describes pretty well, how easy and yet powerful it is to extend the framework with your own library.
In the workshop, you will learn it on real examples - starting from simple static keywords in python modules and up to implementing the dynamic library API.
Description
- Learn how to create different kinds of libraries for Robot Framework and use the power of its API
- Get familiar with logging and assertion options, argument types, decorators etc.
- Practice in developing a library for releasing and publishing it on PyPi
Knowledge Level
- Basic knowledge of Python and Robot Framework is enough for most of topics
- More experience in Python would be an advantage
Workshop Agenda:
- Introduction: why creating own libraries?
- What is a library for Robot Framework?
- Some use cases
- Different kinds of libraries - Creating a static library
- Using dynamic library API
- Hybrid libraries
- Develop and publish a library on PyPi
Preparation and Technical Requirements:
- A laptop capable of running Python and Robot Framework with internet access.
- Software:
- Python >= 3.5
- Robot Framework >= 4.0
- Editor (IDE) for RF and Python (e.g., VS Code), a RF plugin like RF Language Server or Robotcode is nice to have
- GitHub account for code sharing
- PyPi account for publishing
Key Takeaways
- Understand the possibilities to extend Robot Framework with own libraries
- Learn the difference between different kinds of libraries
- Get real experience creating and publishing your own library on PyPi
Beginner RF user, Intermediate RF user, Advanced RF user
Test automation architect, consultant and trainer.
Developer of the Eggplant Library and the LibToc tool.
Current maintainer of the Database Library.
More details on www.mochinin.com