mirror of
https://github.com/Graphify-Labs/graphify.git
synced 2026-09-14 19:34:09 +08:00
832256f824
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.
36 lines
831 B
Plaintext
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
|