a way to merge reports from multiple node versions?
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 28/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- html, javascript, node.js
Direzione di ricerca
The request is to merge mutation-testing reports from different Node versions the way coverage files are merged after CI, so a mutant only counts as survived if it survived in every input. Start from the schema and report format this repo defines for mutation results and how the web components consume them. Done looks like a documented merge step (or API) that combines multiple report files into one final report.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
Specifically, I have lots of packages that do feature-detection - something that, eg, works in node 20 and not in node 18 - and so running the tests in node 20 won't "survive" mutation of that feature-detection precisely because it would require the older engine to test.
If I run the tests in node 18, then a different complementary set of code will "survive" mutation.
Describe the solution you'd like
This problem occurs in code coverage as well, and the industry-wide solution there is to generate coverage reports as files on disk, and then to merge those after CI is done, and then report on the final result - meaning, in order for a mutation to have "survived", it has to have done so in every input to the merged final report.
Describe alternatives you've considered
Asking for the ability to have "ignore mutation" comments or similar; manually ignoring results I know aren't a problem; or not using this mutation approach at all.
Additional context
[Survived] ConditionalExpression
index.js:1:14
- var hasMap = typeof Map === 'function' && Map.prototype;
+ var hasMap = true;
in an engine without native Map, this mutation will fail a great many tests; but in an engine with it, it will survive. This should not be reported, as long as I'm able to run the mutation on a node version without Map (or, as long as I'm able to run a "preamble" that deletes Map before running the tests and mutations).
- Lingua principale
- HTML
- Stelle
- 29
- Fork
- 21
- Merge medio
- 7h 7m
- PR unite (30g)
- 27
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di stryker-mutator/mutation-testing-elements
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
stryker-mutator/mutation-testing-elements#3835 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 22/100
stryker-mutator/mutation-testing-elements#3542 ·
I maintainer di solito rispondono entro 1 giorno
-
Add keyboard shortcutsApertaenhancement good first issue hacktoberfest
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
stryker-mutator/mutation-testing-elements#3370 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
stryker-mutator/mutation-testing-elements#3351 ·
I maintainer di solito rispondono entro 1 giorno
-
Error when displaying multi-line replacementsForse già presa @mkantautas l’ha presa 6 giorni fa. Aperta🐛 Bug hacktoberfest
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
stryker-mutator/mutation-testing-elements#3163 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di stryker-mutator/mutation-testing-elements
Issue simili
-
bug good first issue help wanted Project:Tool workshop
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
bug tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
level2 nsoc26
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
GauravKarakoti/SecureFlow#1488 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
is:fix
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nunit/nunit#5537 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno