mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 12:39:37 +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_8/correct.txt
Normal file
1
Ingegneria del Software/0922_8/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
State coverage: 60%
|
18
Ingegneria del Software/0922_8/quest.txt
Normal file
18
Ingegneria del Software/0922_8/quest.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
img=https://i.imgur.com/PqUZdeV.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 act2
|
||||
|
||||
Test case 2: act0 act0 act1 act1 act0 act1 act2 act0 act0 act1 act1 act2 act1 act2 act0 act0 act0 act2
|
||||
|
||||
|
||||
Test case 3: act2 act0 act1 act2 act2
|
||||
|
||||
|
||||
|
||||
Quale delle seguenti è la migliore stima della state coverage per i test cases di cui sopra
|
1
Ingegneria del Software/0922_8/wrong 1.txt
Normal file
1
Ingegneria del Software/0922_8/wrong 1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
State coverage: 75%
|
1
Ingegneria del Software/0922_8/wrong 2.txt
Normal file
1
Ingegneria del Software/0922_8/wrong 2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
State coverage: 90%
|
Loading…
Add table
Add a link
Reference in a new issue