Files
nshiveg 832256f824 feat: Robot Framework extractor for .robot/.resource files (#3192)
Add a Robot Framework extractor using the official robot.api parser (pure-Python, optional
[robot] extra), emitting suite/test/keyword nodes plus keyword-call, resource-import, and
library edges. Keyword resolution is case/space/underscore-insensitive (RF's real semantics)
and handles BDD prefixes and ${CURDIR}/${EXECDIR} path resolution; degrades to an actionable
error when robotframework is absent.
2026-08-30 15:14:33 +01:00

36 lines
831 B
Plaintext

*** Settings ***
Documentation Fixture suite for the Robot Framework extractor tests.
Resource robot_keywords.resource
Library SeleniumLibrary
Library Collections
Library ./sample.py
Library ${CURDIR}/sample.py WITH NAME CurdirLib
Variables ${UNRESOLVED_VAR}/vars.py
Suite Setup Prepare Environment
Suite Teardown Close All Sessions
*** Variables ***
${TARGET} demo
*** Test Cases ***
Login Works
[Setup] Open Session
Login As Admin
Should Be Equal ${TARGET} demo
[Teardown] Close All Sessions
Retry Loop Case
FOR ${i} IN RANGE 3
Open Session
END
Data Driven Case
[Template] Login As User
alice
bob
*** Keywords ***
Prepare Environment
Log preparing
Open Session