--- id: robotframework-stacktrace version: "0.4.1" license: unclear license_treatment: permissive maintenance: dormant --- # robotframework-stacktrace — A listener that prints a Stack Trace to console to faster find the code section where the failure appears. License: permissive · Maintenance: dormant · Downloads: 441.7K/mo ## What it is and what it does robotframework-stacktrace is a listener plugin for Robot Framework that intercepts test failures and prints a formatted stack trace to the console. Instead of showing only the final error message, it displays the full execution chain—each test file, keyword file, and line number—so you can immediately see where in your test hierarchy the failure occurred. You activate it by passing `--listener RobotStackTracer` to the robot command. It works by hooking into Robot Framework's listener API to capture failure events and format them as a readable traceback, similar to Python's standard traceback output. The main dependency is robotframework itself; the package adds no other runtime requirements. Use it for: - Debugging complex nested keyword calls in large test suites to pinpoint which keyword or test step failed. - Reducing time spent hunting through log files when a test fails—the stack trace appears immediately in console output. - Understanding the execution path through multiple resource files and keyword libraries during test failures. - Integrating with CI/CD pipelines to get clearer failure signals without parsing HTML logs. - Troubleshooting timeout or assertion errors in browser automation tests (e.g., Playwright, Selenium). ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Robot Framework listener that prints stack traces to console during test failures, showing the exact file and line where each failure occurs in the test execution chain. Yes, if you run Robot Framework 4.0+ and want faster failure diagnosis. The package is lightweight, permissively licensed, and solves a real debugging pain point. However, be aware that maintenance is dormant—no updates since mid-2023—so if Robot Framework introduces breaking changes to its listener API, this plugin may stop working without community fixes. ## Install pip install robotframework-stacktrace uv add robotframework-stacktrace poetry add robotframework-stacktrace ## Installing robotframework-stacktrace Before you install: Low install friction with a single wheel distribution. Maintenance is dormant—last release was 2021-07-12 and last commit 2023-11-09—so expect no active updates, though the package remains functional for Robot Framework 4.0 and later. License in practice: Licensed under Apache Software License (permissive), so you can use, modify, and distribute the package freely with minimal restrictions. Quickstart: pip install robotframework-stacktrace robot --listener RobotStackTracer path/to/tests.robot Requires Robot Framework >= 4.0 to be installed separately. Verify before relying: - Whether the stack trace output format remains compatible with Robot Framework versions released after 2023-11-09. - Whether the listener works with all Robot Framework library types or only specific ones. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 441.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags robot framework stack trace, robot framework failure debugging, robot framework test failure location, robot framework listener plugin, robot framework error traceback, robot framework test debugging, robot framework failure analysis, robot-framework, test-debugging, listener-plugin [View on SkillFed](https://skillfed.io/packages/robotframework-stacktrace) · [View on PyPI](https://pypi.org/project/robotframework-stacktrace/)