Skip to content

[Feature Request] Ability to merge suites from multiple reports into one suite during 'mochawesome-merge' if their UUIDs match #94

Description

@Vahan-Koloyan-Netris

Hello,

Wondering if it is possible to acheive this with current implementation, but I have a use case where I generate reports on various hosts using the same Title and UUID for the suits.title and suits.uuid fileds respectivly for all the reports (test names and UUIDs are unique), with the intention that when I gather all the various reports from the hosts into one folder and run npx mochawesome-merge json_reports/*.json > mochareports/report-$(date +"%Y%m%d-%H%M%S").json that the merged report will combine the suites into one if they have matching Titles and UUIDs. Curently it creates seperate suites and increases the suite count, even when they have matching Titles and UUIDs, with the final marge report showing different suites with the same name.

If you were to implement this, possibly it could be invoked by using some flag along with the `npx mochawesome-merge' command to dictate behavior, i.e Merge same UUIDs into one Suite or Not

Thanks for reading

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions