allure-framework / allure-kotlin

Allure integrations for test frameworks targeting Kotlin and Java with 1.6 source compatibility.
Apache License 2.0
57 stars 21 forks source link

Is there is a way to reduce the stacktrace when a test fails or redirect to a txt? #75

Open carlos-vargas-pplus opened 2 years ago

carlos-vargas-pplus commented 2 years ago

[//]: # ( . Note: for support questions, please use Stackoverflow or Gitter. . This repository's issues are reserved for feature requests and bug reports. . . In case of any problems with Allure Jenkins plugin please use the following repository . to create an issue: https://github.com/jenkinsci/allure-plugin/issues . . Make sure you have a clear name for your issue. The name should start with a capital . letter and no dot is required in the end of the sentence. An example of good issue names: . . - The report is broken in IE11 . - Add an ability to disable default plugins . - Support emoji in test descriptions )

I'm submitting a ...

What is the current behavior?

Im getting this, so i want to know how i can reduce the stacktrace or redirect to a txt since the hierarchy is already on a txt below. Im using android espresso with orchestrator image

The json shows as this, I think if I enable window hierarchy the read square is the most important image

So if I delete the hierarchy show as this, i think is more readable since the hierarchy is on the file image

Also matches what is the output from the terminal image

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Allure version 2.2.0
Test framework junit@4.13.1
Allure integration allure-kotlin-android@2.1.2
Generate report using allure-gradle@2.8.1

Other information

[//]: # ( . e.g. detailed explanation, stacktraces, related issues, suggestions . how to fix, links for us to have more context, eg. Stackoverflow, Gitter etc

konflic commented 1 year ago

+1