stryker-mutator / stryker-dashboard

See your mutation testing reports from anywhere 🚀
https://dashboard.stryker-mutator.io/
Apache License 2.0
23 stars 18 forks source link

Feature request: Compare #266

Open nicojs opened 1 year ago

nicojs commented 1 year ago

We would like to have a compare page. Comparable (pun unintended) to githubs compare feature.

The comparison would show the diff between 2 mutation testing reporters. Mutants that did not change (and the tests didn't change) could be shown as ignored (or not shown entirely). We can reuse internals from StrykerJS's "incremental mode" feature.

URL design could also be inspired by Github's design:

I.e /compare/github.com/stryker-mutator/stryker-js/master...feat/octocat compares master to feat/octocat.
I.e /compare/github.com/stryker-mutator/stryker-js/fix/bar...feat/foo compares fix/bar to feat/foo.

nicojs commented 1 year ago

@hugo-vrijswijk @rouke-broersma, would you agree that the diff algorithm should be moved to the mutation-testing-elements repository?

rouke-broersma commented 1 year ago

@hugo-vrijswijk @rouke-broersma, would you agree that the diff algorithm should be moved to the mutation-testing-elements repository?

I guess. It gets weirder and weirder that elements contains metrics instead of the other way around, or that they're in the same repo at all.

nicojs commented 1 year ago

I guess. It gets weirder and weirder that elements contains metrics instead of the other way around, or that they're in the same repo at all.

See https://github.com/stryker-mutator/mutation-testing-elements/issues/910 about renaming the repo.