allure-js
allure-js copied to clipboard
Allure-Mocha: add test name to beforeEach name
When I have beforeEach
in my test suite and add test steps inside it will result in a report as several calls of beforeEach
for each test. This happens because all beforeEach
hooks will have exactly the same name
Describe the solution you'd like
A possible solution from my perspective here could be adding the name of the test on which beforeEach
hook was called to the hook's name in report
Describe alternatives you've considered
Additional context
on the screenshot you can see the report for suite with 4 tests and beforeEach hook
Any updates about this issue?
Could you please share the code example here?
Could you please share the code example here?
https://github.com/lbltnmrgnv/repro