https://github.com/marketsquare/robotframework-stacktrace
A listener for RF >= 4.0 that prints a Stack Trace to console to faster find the code section where the failure appears.
https://github.com/marketsquare/robotframework-stacktrace
Last synced: 12 months ago
JSON representation
A listener for RF >= 4.0 that prints a Stack Trace to console to faster find the code section where the failure appears.
- Host: GitHub
- URL: https://github.com/marketsquare/robotframework-stacktrace
- Owner: MarketSquare
- License: apache-2.0
- Created: 2021-06-01T16:27:02.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-09T10:27:18.000Z (over 2 years ago)
- Last Synced: 2025-07-07T07:03:43.379Z (12 months ago)
- Language: Python
- Size: 35.2 KB
- Stars: 18
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# robotframework-stacktrace
A listener for RF >= 4.0 that prints a Stack Trace to console to faster find the code section where the failure appears.
## Installation
```shell
pip install robotframework-stacktrace
```
## Usage
```shell
robot --listener RobotStackTracer
```
### Example
Old Console Output:
```commandline
❯ robot -d logs TestCases/14_Browser/01_CarConfig.robot
==============================================================================
01 CarConfig
==============================================================================
Configure Car with Pass | FAIL |
TimeoutError: page.selectOption: Timeout 3000ms exceeded.
=========================== logs ===========================
waiting for selector ""Basismodell" >> ../.. >> select"
selector resolved to visible > ../.. >> select (str)
| ${basemodel} = aMinigolf (str)
______________________________________________________________________________
Configure Car with Pass | FAIL |
TimeoutError: page.selectOption: Timeout 3000ms exceeded.
=========================== logs ===========================
waiting for selector ""Basismodell" >> ../.. >> select"
selector resolved to visible