Vous êtes sur la page 1sur 7

Universitatea Tehnică a Moldovei

Facultatea „Calculatoare, informatică și microelectronică”


Filiera anglofonă „Computer science”

RAPORT
Lucrarea de laborator nr.2
la Testarea și verificarea produselor program

Tema: Metode de testare a programelor. Tehnici black box

Au efectuat: I. Ungureanu
D. Surdu
C. Sîrbu

Chişinău – 2017
Test Scenario
Requirement Test scenario description Importance
ID

check the sound analysis


TS1 all High
algorithm

check if the app is picking up


TS2 all High
the sound correctly

TS3 all check the sound output High

check if the user receives the


TS4 Skill improver Medium
right answer variants

check if the sound is


TS5 Guitar hero Medium
synchronized with the tabs

check if the points are counted


TS6 Guitar hero Medium
correctly

TS1: Checking the sound analysis algorithm

R1 R2 R3 R4 R5 R6 R7 R8
Sound
T T T T F F F F
exists?
 ≥ 𝑖−1 T T F F T T F F
 ≤ 𝑖+1 T F T F T F T F
Too Too Wrong
Tuned - - - -
low high sound

Frequency Result
<70Hz -
70Hz - 82.41Hz E too low
82.41Hz E
82.41Hz - 96Hz E too high
96Hz – 110Hz A too low
110.00Hz A
110Hz – 128Hz A too high
128Hz – 146.83Hz D too low
146.83Hz D
146.83Hz – 171Hz D too high
171Hz – 196Hz G too low
196Hz G
196Hz – 222Hz G too high
222Hz – 246.94Hz B too low
246.94Hz B
246.94Hz – 288Hz B too high
288Hz – 329.63Hz E too low
329.63Hz E
329.63-360Hz E too high
>360Hz -

Test Case ID Input Expected output


TC1 0Hz Waiting for input
TC2 60Hz -
TC3 69.99Hz -
TC4 70Hz E too low
TC5 70.01Hz E too low
TC6 75Hz E too low
TC7 82.4Hz E too low
TC8 82.41Hz E
TC9 82.42Hz E too high
TC10 85Hz E too high
TC11 95.99Hz E too high
TC12 96Hz A too low
TC13 100Hz A too low
TC14 109.99Hz A too low
TC15 110Hz A
TC16 110.01Hz A too high
TC17 120Hz A too high
TC18 127.99Hz A too high
TC19 128Hz D too low
TC20 135Hz D too low
TC21 146.82Hz D too low
TC22 146.83Hz D
TC23 146.84Hz D too high
TC24 160Hz D too high
TC25 170.99Hz D too high
TC26 171Hz G too low
TC27 180Hz G too low
TC28 195.99Hz G too low
TC29 169Hz G
TC30 196.01Hz G too high
TC31 205Hz G too high
TC32 221.99Hz G too high
TC33 222Hz B too low
TC34 230Hz B too low
TC35 246.93Hz B too low
TC36 246.94Hz B
TC37 246.95Hz B too high
TC38 270Hz B too high
TC39 287.99Hz B too high
TC40 288Hz E too low
TC41 300Hz E too low
TC42 329.62Hz E too low
TC43 329.63Hz E
TC44 329.64 E too high
TC45 350Hz E too high
TC46 359.99Hz E too high
TC47 360Hz -
TC48 380Hz -
TS2: Checking if the app is picking up the sound correctly

R1 R2 R3 R4
Sound saved? T T F F
Sound correct? T F T F
correct error - error

Test Case ID Sound saved? Sound correct? Expected output


TC1 T T sound saved
TC2 T F error
TC3 F F wait for input

TS3: Checking the sound output

R1 R2 R3 R4
Sound found in
T T F F
DB?
Sound interpreted
T F T F
correctly?
correct error - error

Sound interpreted
Test Case ID Sound found in DB? Expected output
correctly

TC1 T T sound interpreted

TC2 T F error

TC3 F F error
TS4: Checking if the user receives the right answer variants
R1 R2 R3 R4
Answer variants
T T F F
showed?
Answers showed
T F T F
correctly
correct error - error

Expected
Test Case ID Input
output
answers
TC1 Answers showed correctly
showed

TC2 1 answer showed error

TC3 2 answers showed error

TC4 3 answers showed error

TC5 0 answers showed error

TC6 5 answers showed error

TS6: Checking if the points are counted correctly

R1 R2 R3 R4
Sound exists T T F F
𝜈 = 𝜈𝑠𝑡𝑟𝑖𝑛𝑔 T F T F
+ 1 point wrong sound - no input

Test Case ID Sound exists? Frequencies coincide Expected output

TC1 T T +1 point

TC2 T F wrong sound

TC3 F F wait for input


Conclusion:
During this laboratory work, we tested the functionalities of our program. For this, we used black
box techniques. Considering we have a very complex program, we were not able to create only
one decision table, so we created five of them. We used these tables to create test cases.

Vous aimerez peut-être aussi