Is there a way to access the test summary directly? #960
Unanswered
enrico-semrau
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It depends what you actually want to have:
For the list of failing scenarios, use the HINT: You can have multiple formatters but only at most one that writes to stdout/console. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys, I have searched my a** off but couldn't manage to find a solution.
I work on a solution to send the test summary to slack after a run.
Ideally I could somehow access the test summary and store it in a file or variable to work with it later in the pipeline.
What I do now, because I am not able to access it, I am saving every failed scenario into a file and then print out the list / send it to slack.
But if there is a way to avoid this whole implementation and easily use the summary then it would save a lot of time and code and would be highly appreciated.
So I only need this part here:
0 features passed, 1 failed, 121 skipped
0 scenarios passed, 1 failed, 329 skipped
0 steps passed, 0 failed, 6595 skipped, 0 undefined, 1 untested
Took 0m0.000s
Do you have any idea?
Beta Was this translation helpful? Give feedback.
All reactions