Newer
Older
lopezaguilar
committed
from pprint import pprint
from doc.analysis.generaterobotdata import GenerateRobotData
lopezaguilar
committed
if __name__ == "__main__":
data = GenerateRobotData(robot_file='../TP/NGSI-LD/CommonBehaviours/044_01.robot',
lopezaguilar
committed
execdir='/home/fla/Documents/workspace/bdd/ngsi-ld-test-suite')
data.parse_robot()
info = data.get_info()
with open('result.json', 'w') as fp:
json.dump(obj=info, indent=4, fp=fp)
lopezaguilar
committed
# data = GenerateRobotData(robot_file='../TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_01.robot',
# execdir='/home/fla/Documents/workspace/bdd/ngsi-ld-test-suite')
# data.parse_robot()
# info = data.get_info()
# pprint(info)