Introduce an ability to add new kolumns

Aperta
#3,835 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
html, javascript
Ambito
frontend, testing

Direzione di ricerca

This is a feature request to extend the Stryker HTML mutation report so extra columns (e.g. killed by static analysis vs tests) can be shown while still counting as killed for MSI. Start from the report UI and the mutation-testing result schema this repo defines; there are no file or test names in the issue. Done means the report can display additional killed-style columns as in the markdown example, without changing score mapping.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Context

We use Stryker HTML report a lot on @infection and now, as we added support for PHPStan Static Analysis killer, we would like to show this information in HTML report.

In PHP, static analysis is not a part of the language, but a standalone tool. So in our Infection reports we differentiate between

  • killed mutants
  • covered by Static Analysis mutants

and the same we would like to display in HTML report.

Feature request

Is it possible to somehow add columns in addition to "Killed". This way we would be able to add "Covered by Static Analysis" column, which also treated as Killed but it is good to show how many are killed by tests and how many are killed by static analysis and display them separately.

Image

Example of how we show it in markdown logger at Infection:

Mutator Mutations Killed by Test Framework Test Timings min/avg/max Killed by Static Analysis Static Analysis Timings min/avg/max Escaped Errors Syntax Errors Timed Out (Limit: 20 secs) Skipped Ignored MSI (%s) Covered MSI (%s)
For_ 8 1 0.00 / 0.00 / 0.00 secs 0 0.00 / 0.00 / 0.00 secs 1 1 1 1 1 1 66.67 80.00
PregQuote 9 1 0.00 / 0.00 / 0.00 secs 1 0.00 / 0.00 / 0.00 secs 1 1 1 1 1 1 71.43 83.33

Note "Killed by Test Framework" and "Killed by Static Analysis" different kolumns (all mutants in both these columns are mapped to Killed for score calculations)

Lingua principale
HTML
Stelle
29
Fork
21
Merge medio
1h 51m
PR unite (30g)
28

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di stryker-mutator/mutation-testing-elements

Tutte le issue di stryker-mutator/mutation-testing-elements

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.