Skip to content

Add exception traceback to comment for failed steps#149

Open
dmncmn wants to merge 1 commit into
Virtualstock:masterfrom
dmncmn:master
Open

Add exception traceback to comment for failed steps#149
dmncmn wants to merge 1 commit into
Virtualstock:masterfrom
dmncmn:master

Conversation

@dmncmn

@dmncmn dmncmn commented Jun 8, 2021

Copy link
Copy Markdown

[Enhancement]
For greater clarity displayed 10 last lines of traceback in the comment below failed step:

Dummy scenario
->  given step_01 [passed]
->  given step_02 [failed]
...
  File "/my_tests/test.py", line 2, in <module>
->  given step_03 [skipped]
->  given step_04 [skipped]

@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2021

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@seroney-matoke seroney-matoke left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR approved. Follows the design pattern as define.

PR will add support for traceback on failed steps pushed to TR report

Comment thread behave_testrail_reporter/testrail_reporter.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants