mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-07 05:59:37 +02:00
ingsw: Add 07-22
This commit is contained in:
parent
9c7b4e10a5
commit
3b6c7b4377
104 changed files with 520 additions and 0 deletions
1
Ingegneria del Software/0722_1/correct.txt
Normal file
1
Ingegneria del Software/0722_1/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
State coverage: 100%
|
19
Ingegneria del Software/0722_1/quest.txt
Normal file
19
Ingegneria del Software/0722_1/quest.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
img=https://i.imgur.com/HZd8X10.png
|
||||
La state coverage di un insieme di test cases (cioè sequenze di inputs) per uno state diagram è la percentuale di stati (inclusi START ed END) raggiunti almeno una volta.
|
||||
|
||||
Si consideri lo state diagram in figura
|
||||
|
||||
|
||||
Si consideri il seguente insieme di test cases:
|
||||
|
||||
|
||||
|
||||
Test case 1: act0 act0 act2 act0 act0 act0 act2 act1 act2 act0 act2 act2 act2 act2 act0 act0 act1 act2 act2 act0 act2 act0 act2 act1 act0 act2 act1 act2 act2 act0 act2
|
||||
|
||||
Test case 2: act2 act2 act1 act0 act0 act0 act0 act2 act2 act1 act2
|
||||
|
||||
Test case 3: act2 act2 act2 act1 act0 act2 act2 act0 act2
|
||||
|
||||
|
||||
|
||||
Quale delle seguenti è la migliore stima della state coverage per i test cases di cui sopra
|
1
Ingegneria del Software/0722_1/wrong 1.txt
Normal file
1
Ingegneria del Software/0722_1/wrong 1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
State coverage: 60%
|
1
Ingegneria del Software/0722_1/wrong 2.txt
Normal file
1
Ingegneria del Software/0722_1/wrong 2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
State coverage: 80%
|
Loading…
Add table
Add a link
Reference in a new issue