Generate Allure Report for jest. Allure Report, a flexible lightweight multi-language test report tool with the possibility to add steps, attachments, parameters and so on.
When I write describe() within another describe() in order to create nested test suites, the title from one describe() gets concatenated with the title from the other describe(), and the test suites are displayed all in one level - no nesting.
Within the generated Allure report, I have 3 separate myFunc top-level suites, but I only want 1.
I get something like this:
> myFunc with 1
> blah
> foo
> bar
> myFunc with 2
> blah
> foo
> bar
> myFunc with 3
> blah
> foo
> bar
But I would like something like this (it works with other Allure reporters):
> myFunc
> with 1
> blah
> foo
> bar
> with 2
> blah
> foo
> bar
> with 3
> blah
> foo
> bar
I know this is possible with Allure, I have seen it work with other report generators. But I am having this issue specifically with jest-allure.
This similar issue was raised on the allure-js repo, but I think it may be more appropriate to file it here.
When I write describe() within another describe() in order to create nested test suites, the title from one describe() gets concatenated with the title from the other describe(), and the test suites are displayed all in one level - no nesting.
Within the generated Allure report, I have 3 separate
myFunc
top-level suites, but I only want 1.I know this is possible with Allure, I have seen it work with other report generators. But I am having this issue specifically with
jest-allure
.This similar issue was raised on the
allure-js
repo, but I think it may be more appropriate to file it here.