Skip to content

Robot Framework listener that prints Python traceback for failing keywords in the console.

License

Notifications You must be signed in to change notification settings

seanpm2001/AAJN_RobotFramework-PythonStackTrace

Repository files navigation

PythonStackTracer

Robot Framework listener that prints Python traceback for failing keywords in the console.

This listener prints only the trace from Python modules. For Robot Framework stack trace, check out robotframework-stacktrace.

Installation

pip install robotframework-pythonstacktrace

Usage

robot --listener PythonStackTracer

Example

Atest Data & Atest Data.Atest Data.Example
==============================================================================
Python Traceback (most recent call last):                             F
  File "C:\Users\flant\Desktop\pytrace\atest_data\ExceptionalLibrary.py", line 9, in raises_an_exception
    first_call()
  File "C:\Users\flant\Desktop\pytrace\atest_data\ExceptionalLibrary.py", line 3, in first_call
    second_call()
  File "C:\Users\flant\Desktop\pytrace\atest_data\ExceptionalLibrary.py", line 6, in second_call
    raise Exception()
Exception
______________________________________________________________________________

About

Robot Framework listener that prints Python traceback for failing keywords in the console.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published