ソフトウェアテスト
[5] ブラックボックステス
ト演習
Software Testing
[5] Black Box Testing Exercise & Seminar
あまん ひろひさ ひろひさ
阿萬 裕久 裕久( AMAN
Hirohisa )
(C) 2007-2022 Hirohisa AMAN
1
Exercise purpose
Perform Black Box Test Box Test of t he program (esp
ecially writ ing t est cases) to experience and t o experience and
learn t he import ance of soft ware t est ing
Main contents
Program Black box testing
Create a program according to specifications
Testing by others
Correction of the program
(if any defects are found)
(C) 2007-2022 Hirohisa AMAN
2
Exercise cont ent
Exercise 1
Consid er a t est case for the given program (with
bugs) and perform black box testing
Exercise 2
Create a Program accord ing t o t he given specific
at ions
and,
Have ot hers t est your program
Mod ify t he program if any d efect s are found
(C) 2007-2022 Hirohisa AMAN
3
*There are bugs (errors) in the program.
making it on purpose
Exercise 1
Download both
from Teams
[Test target] ex0501.c
① Consid er various t est case based on t
he program specificat ions (spec0501.
pdf) to experience and . and writ e t hem in an Excel sheet
(t est -report 0501.xlsx) to experience and
② Test the program for each t est case
Writ e t he Test result s in t he Excel shee
t
(C) 2007-2022 Hirohisa AMAN
4
test-report0501.xlsx
Test report creat ed in Exercise 1
Follow the example and fill in the blanks.
Create various test cases using equivalence
partitioning and boundary value analysis (10 or more)
(C) 2007-2022 Hirohisa AMAN
5
Submission of Assignment 1
Submit to Teams
test-report0501.xlsx
[5] Exercise-1 (Black box testing)
Submission deadline: Tomorrow (Mar.
28) 13:00 (Vietnam time)
(C) 2007-2022 Hirohisa AMAN
6
Exercise 2
Make a program accord ing t o specificat i
on spec0502.pdf
The created source filename is ex0502.
c
Test your program wit h ot hers
ex0502.
c
program
C
Student A.
test results
Student B.
test-report0502.xlsx
(C) 2007-2022 Hirohisa AMAN
7
St ep of Exercise 2 (1/2) to experience and
1. Create the program ex0502.c accord i
ng t o specificat ion spec0502.pdf
2. Ask Box Test anot her st ud ent t o t est your ex05
02.c
2-1) to experience and Fill in your name and fill in t he t est e
r’s name on t est -report 0502.xlsx.
2-2) to experience and Send your ex0502.c and t est -report
0502.xlsx t o t he t est er.
(C) 2007-2022 Hirohisa AMAN
8
St ep of Exercise 2 (2/2) to experience and
3. Test the program, enter the result into
test-report0502.xlsx, and return it to the
program creator.
4. The programmer check Box Test s t he t est result
s, corrects the program if there is a bug, a correct s t he program if t here is a bug, corrects the program if there is a bug, a a
nd runs t he t est again.
5. The program aut hor submit s t he final v
ersion of ex0502.c and t est -report 0502 t o
Teams.
(C) 2007-2022 Hirohisa AMAN
9
Submission of Assignment 2
Submit to Teams
ex0502.c (final version)
test-report0502.xlsx
[5] Exercise-2 (Black box testing)
Submission deadline: Apr.3, 13:00 (VN)
yourself
C
ex0502.c
program
Student A.
test results
Student B.
test-report0502.xlsx
(C) 2007-2022 Hirohisa AMAN
10