Workshop hands-on sul mutation testing: la tecnica che verifica i test invece del codice. Si parte dai limiti della coverage, si introduce il mutation testing su un modulo reale del team e si lavora sui mutanti sopravvissuti per chiudere i buchi che la percentuale di coverage nasconde.
Workshop Mutation Testing: i tuoi test si accorgono dei bug?
I test passano e la coverage è alta, ma le regressioni arrivano comunque in produzione. La coverage misura quali righe vengono eseguite, non se i test si accorgerebbero di un cambiamento che rompe il comportamento. Un test che esegue una riga senza verificarne il risultato gonfia la percentuale e non protegge da niente.
Context
Sessione hands-on sul codice del team: si introduce il mutation testing su un modulo reale e si lavora sui mutanti sopravvissuti, non su esempi giocattolo.
Pillar applied
Verify
What it covers
- Perché una coverage alta non garantisce test efficaci: cosa misura davvero e cosa le sfugge
- Come funziona il mutation testing: mutanti, mutanti uccisi, mutanti sopravvissuti
- Far girare il mutation testing su un modulo reale del team e leggere il report
- Trasformare i mutanti sopravvissuti in test mancanti, e capire quando fermarsi (costo contro valore)
- Integrarlo in CI senza far esplodere i tempi: dove conviene e dove la coverage basta
What attendees walk away with
Il team esce sapendo distinguere un test che protegge da un test che fa solo passare la pipeline, e con un primo modulo coperto da test verificati col mutation testing. E con un criterio per decidere dove spingere la verifica e dove fermarsi.
Want this workshop for your team?
We can adapt scope, length and format to where the team is. Let's start with a 30-minute call to figure out where they are and where you want them to get.