Download System Test Plan

Transcript
System Test Plan
8.3
HICS - Home Irrigation Control System
Component Tests
Test ID
Hardware
Pass Criteria
Fail Criteria
CSS1
Soil Moisture
Sensor Subsystem
•
Measure the moisture
level of the soil
correctly
•
Does not measure the soil
moisture sensor correctly
CSR1
Rain Sensor
Subsystem
•
Report the rain
condition of the
environment correctly
•
Does not measure temperature
of the environment correctly
CST1
Temperature Sensor
Subsystem
•
Measure the
temperature of the
environment correctly
•
Does not report the rain
condition of the environment
correctly
CHS1
Sensor Controller
Subsystem
•
Read the analog data
form sensor modules
Convert data to digital
values
Send digital values to
the Raspberry Pi
•
Unable to read data form
sensor module
Unable to convert data to
digital values
Unable to send digital values
to the Raspberry Pi
Receive control
commands form the
Raspberry Pi
Execute commands to
turn on/off the valves
•
Map control commands
to local variable
Convert sensor data to
JSON object
•
Attach JSON object of
data sensor to URI
Make an URI request to
the Web service
•
Display GUI object for
user to interact
•
•
•
CHV1
Valve Controller
Subsystem
•
•
CID1
Data Processing
Subsystem
•
•
CSS1
Service Caller
Subsystem
•
•
CSA1
Web Application
Subsystem
•
3/30/2015
•
•
•
•
•
Unable to receive control
commands form the Raspberry
Pi
Unable to execute commands
to turn on/off the valves
Unable to map control
commands to local variable
Unable to convert sensor data
to JSON object
Unable to attach JSON object
of data sensor to URI
Unable to make an URI
request to the Web service
Unable to show GUI object or
show a wrong object
SmartGrass
65