so-un-bot/Ingegneria del Software/0222_24/quest.txt
2022-12-30 14:35:46 +01:00

12 lines
No EOL
565 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

img=https://i.imgur.com/6m6ALRb.png
La state coverage di un insieme di test cases (cioè sequeze di inputs) per uno state diagram è la percentuale di stati (inclusi START ed END) rggiunti almeno una volta.
Si consideri lo state diagram in figura 
ed il seguente insieme di test cases:
1) Start PIN validation, card inserted, PIN Entered, Valid PIN, Cancel 3, End PIN Validation 2
2) Start PIN validation, card inserted, PIN Entered, Cancel 2, End PIN Validation 2
Quale delle seguenti è la migliore stima della state coverage per i test cases di cui sopra