https://github.com/marketsquare/robotlog
Robot Framework Log structure in TypeScript
https://github.com/marketsquare/robotlog
Last synced: 10 months ago
JSON representation
Robot Framework Log structure in TypeScript
- Host: GitHub
- URL: https://github.com/marketsquare/robotlog
- Owner: MarketSquare
- License: apache-2.0
- Created: 2022-12-17T19:56:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T21:35:59.000Z (over 3 years ago)
- Last Synced: 2025-06-27T23:35:23.071Z (about 1 year ago)
- Language: TypeScript
- Size: 760 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Robotlog
Robot Framework Log structure in TypeScript
Status: Prototype
# Goal
This projects goal is to make a TypeScript package that can reveal Robot Framework log data given in JSON format to JavaScript / TypeScript.
This should allow anybody to make their own representation of the log data with their selected web technologies.
This should allow building the UI with React, Angular, Vue, Svelte, vanilla JS or whatever tech suites your needs.
This should interface with official JSON https://github.com/robotframework/robotframework/issues/3423 once it is available, for now using create_json.py as a placeholder.
# Example output
```JSON
{
"id": "s1",
"name": "Tmp",
"source": "/Users/mkorpela/workspace/robotlog/tmp",
"relativeSource": "tmp",
"doc": "",
"status": "PASS",
"message": "",
"times": {
"startTime": "2022-12-17T19:05:34.044Z",
"endTime": "2022-12-17T19:05:34.056Z",
"elapsedMillis": 12
},
"statistics": {
"total": 1,
"pass": 1,
"fail": 0,
"skip": 0
},
"metadata": [],
"keywords": [],
"tests": [],
"suites": [
{
"id": "s1",
"name": "Foo",
"source": "/Users/mkorpela/workspace/robotlog/tmp/foo.robot",
"relativeSource": "tmp/foo.robot",
"doc": "",
"status": "PASS",
"message": "",
"times": {
"startTime": "2022-12-17T19:05:34.054Z",
"endTime": "2022-12-17T19:05:34.056Z",
"elapsedMillis": 2
},
"statistics": {
"total": 1,
"pass": 1,
"fail": 0,
"skip": 0
},
"metadata": [],
"keywords": [],
"tests": [
{
"id": "t1",
"name": "Testing",
"doc": "",
"timeout": "",
"status": "PASS",
"message": "",
"times": {
"startTime": "2022-12-17T19:05:34.055Z",
"endTime": "2022-12-17T19:05:34.056Z",
"elapsedMillis": 1
},
"tags": [],
"keywords": [
{
"type": "KEYWORD",
"id": "k1",
"name": "Log",
"libname": "BuiltIn",
"timeout": "",
"args": "hello",
"assign": "",
"tags": "",
"doc": "
Logs the given message with the given level.
",
"status": "PASS",
"times": {
"startTime": "2022-12-17T19:05:34.056Z",
"endTime": "2022-12-17T19:05:34.056Z",
"elapsedMillis": 0
},
"keywords": []
}
]
}
],
"suites": []
}
]
}