emacs-buttercup
emacs-buttercup copied to clipboard
Group suites from different files by name in the report
If I have multiple files which define the same suit with (describe "foo")
I would like to see it only once in the report with the subsuites/assertions merged.
This is a massive bikeshed but it bothers me :D I've tried to do something here but I don't quite understand the code collecting the stuff and it's relation to the output.
Ideally someone else would implement this but helpful pointers welcome... if I ever get annoyed over the top and tip into trying to actually fixing this.
Well, in the first place, does this even make sense? I know jest is doing this which is based off of jasmine, so there is some precedence.
Nice idea :-)
You'd have to change buttercup-describe
and buttercup-suite-add-child
to not just append, but to use a hash or something. There's already code in buttercup-describe
to handle duplications. Does this help?