TestPlan Example UltrasonicSensor
TestPlan Example UltrasonicSensor
Test Plan
Revision: 0.1
August 9, 2017
Test Plan
The following sequence satisfies:
Req. 1. And 1.1
Step Input/action Expected Result Date Ran Pass/Fail Comments
1 a) Plug in Should display a Aug 9th pass Display is a little
unpowered Boe- numeric value and 2017 hard to read as the
Bot to computer the string ‘ in’ refresh rate is too
via usb cable high. Recommend a
b) Open Arduino time delay in main
software loop.
c) Open correct
com port
d) Record display
The following sequence satisfies:
Req. 2., 3., 3.1 and 4.
Step Input/action Expected Date Ran Pass/Fail Comments
Result
1 a) Place Boe-Bot on Should display Aug 9th 2017 Fail The com port
flat surface well the string 1.00 displayed
plugged into in ‘0.90 in’.
computer
b) Measure out
from end of
transmitter
housing one inch
c) Place object at
the one inch
distance
d) Record display
2 a) Place Boe-Bot on Should display Aug 9th 2017 fail Displayed
flat surface well the string value of 0
plugged into ‘118.8 in’ inches. Also
computer note that if
b) Measure out anything was
from end of above the
transmitter surface within
housing 118.8 one foot and
inches in-between
c) Place object at the sensor and
118.8 inch mark object display
d) Record display read a
distance
‘relative’ to
the object.
3 a) Place Boe-Bot on Should display Aug 9th 2017 fail Same reading
flat surface well one inch and as in step 1.
plugged into the with every Also, no
computer mark change until
b) Measure out afterward the the 4th mark
from end of display should with reading
transmitter be .1 inch ‘1.01 in’ and
housing one inch higher the 5th mark
place mark read ‘1.12 in’
c) Measure out a
tenth of an inch
from the mark.
Place another
mark
d) Repeat step c
five times
e) Place object at
the one inch
distance record
display
f) Move object to
next mark, wait
one second
g) Record display
h) Repeat steps e
through g until a
measure exists
The following sequence satisfies:
Req. 5., 5.1 and 5.2
Step Input/action Expected Date Ran Pass/Fail Comments
Result
1 a) Place Boe-Bot on Should display Aug 9th 2017 Fail The com port
flat surface well the string displayed
plugged into ‘0.00 in’ ‘1.65 in’ when
computer the object was
b) Measure out placed .1
from end of inches from
transmitter the sensor
housing one inch
c) Place object
somewhere
within the one
inch distance
d) Record display
2 a) Place Boe-Bot on Should display Aug 9th 2017 pass None
flat surface well the string
plugged into ‘0.00 in’
computer
b) Measure out
from end of
transmitter
housing 118.8
inches
c) Place object
beyond 118.8
inch mark
d) Record display
Appendix A
Requirements:
Functional:
Non-Functional:
6. HC-SR04 shall be fixed to the front a Boe-Bot using the EGR101 RED sensor mount.
6.1. The center of the HC-SR04’s transmitter housing shall be mounted an inch from the ground.
6.1.1.Ground shall be defined as any surface for which the bottom of the Boe-Bot’s wheel rest
on.