mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 19:59:36 +02:00
Add 02/22
This commit is contained in:
parent
45a8cbaefc
commit
517e1ae071
36 changed files with 301 additions and 0 deletions
1
Ingegneria del Software/0222_27/correct.txt
Normal file
1
Ingegneria del Software/0222_27/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
90%
|
13
Ingegneria del Software/0222_27/quest.txt
Normal file
13
Ingegneria del Software/0222_27/quest.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
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, Invalid PIN, PIN Entered, Valid PIN, Cancel 3, End PIN Validation 2;
|
||||
|
||||
3) Start PIN validation, card inserted, PIN Entered, Invalid PIN, PIN Entered, Invalid PIN, PIN Entered, Valid PIN, Cancel 3, End PIN Validation 2.
|
||||
|
||||
|
||||
Quale delle seguenti è la migliore stima della state coverage per i test cases di cui sopra
|
1
Ingegneria del Software/0222_27/wrong1.txt
Normal file
1
Ingegneria del Software/0222_27/wrong1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
80%
|
1
Ingegneria del Software/0222_27/wrong2.txt
Normal file
1
Ingegneria del Software/0222_27/wrong2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
60%
|
Loading…
Add table
Add a link
Reference in a new issue