Api request: Prepare suite and run suite separately

Author: ilfirin-msCreated Apr 21, 2025Updated Aug 16, 2026

I need to run RF tests quickly and often on low-end hardware - raspberry pis and missing apis to:

  1. Prepare suite - load and parse and compile and ... all what is needed to run on infinite time and memory

  2. Just run as quickly as possible

Right now I am hijacking run.py/RobotFramework().main and separating it to

  1. TestSuiteBuilder and all the stuff as prepare part

  2. with pyloggingconf.robot_handler_enabled(settings.log_level): ... as run part, with slight modifications such as sio = StringIO(); output._xmllogger._writer = XmlWriter(sio)

to restart output and prevent it to write to SD card, results are then sent away anyway.

These works well, as far as I am aware, but I have to modify these with new versions of RF. It would be nice, if it was somehow standardized, or I am doing it wrong?

Thank you

Source: robotframework/robotframework