mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 20:19:38 +02:00
ingsw: Add 09-22
This commit is contained in:
parent
fb2aa7120e
commit
1b1633659c
64 changed files with 1312 additions and 0 deletions
1
Ingegneria del Software/0922_7/correct.txt
Normal file
1
Ingegneria del Software/0922_7/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
State coverage: 85%
|
15
Ingegneria del Software/0922_7/quest.txt
Normal file
15
Ingegneria del Software/0922_7/quest.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
img=https://i.imgur.com/YoZA1G0.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: act1 act2 act2 act1 act2 act1 act1 act0 act1 act2 act0 act1 act2 act1 act2 act1 act0 act0 act2 act2 act0 act1 act1 act2 act2 act2 act0 act1 act2 act2 act1
|
||||
|
||||
Test case 2: act1 act2 act0 act0 act2 act2 act2 act2 act2 act1 act2 act0 act0 act2 act1 act2 act2 act2 act0 act0 act2 act1 act2 act2 act2 act0 act0 act1
|
||||
|
||||
Test case 3: act1 act1
|
||||
|
||||
Quale delle seguenti è la migliore stima della state coverage per i test cases di cui sopra
|
1
Ingegneria del Software/0922_7/wrong 1.txt
Normal file
1
Ingegneria del Software/0922_7/wrong 1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
State coverage: 60%
|
1
Ingegneria del Software/0922_7/wrong 2.txt
Normal file
1
Ingegneria del Software/0922_7/wrong 2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
State coverage: 100%
|
Loading…
Add table
Add a link
Reference in a new issue