Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test description to test details for ExtentITestListenerClassAdapter #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mtorres10
Copy link

@mtorres10 mtorres10 commented Mar 25, 2022

With current behavior of adapter test description is not displayed for each test when using ExtentITestListenerClassAdapter.
This commits adds the following functionality:

  • Add test description to test details for ExtentITestListenerClassAdapter. If there is no description for the test, default value for details will be used (Test passed,Test failed or Test skipped)
  • Add test description via info log when test result has a throwable. When a throwable is logged it overwrites the test details, therefore the current approach is to add another log to display the test description. @anshooarora Is there a way to have both a code/throwable and plain text on details column?
  • Add a couple of tests specific for description

This will probably address issue #20

Screenshot for results:
image

…assAdapter

Add test description via info log when test result has a throwable
@Phildor92
Copy link

Can this PR be merged?

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.

3 participants