Home
System Test Plan
Contents
1. All safety requirements will be tested 3 30 2015 SmartGrass 57 System Test Plan HICS Home Irrigation Control System 6 5 Maintenance and Support Requirements 6 5 1 Software Maintenance Description All source code files and relevant documentation must be available for software maintenance and troubleshooting The required files and documentation will be available via the GitHub repository The software will be split into loosely coupled parts so it would be easier to make changes and improvements to the system over time Reasoning Time constraint Our software is made from one of the modern and compatible technologies so there will likely be no issues with our software for a number of years Also this is a year term project so there is no need to maintain the software 6 5 2 Source Code Documentation Description All source code files required for HICS will be extensively commented to support future updates and troubleshooting Reasoning Cannot test documentation 6 5 3 Troubleshooting Guide Description A troubleshooting guide will be presented to the user that details some possible problems that they might encounter in typical use and their appropriate solutions Similar to the user manual it will be provided in the final packaging as a CD ROM and will also be made available online via the web application Reasoning Time constraint We assume our Guide and User Manual will be clear enough that it will need no r
2. Result ID A unique ID associated with the specific type of defect Error Log A warning message or information related with the specific defect Description Description of the defect explaining the reason of the bug Defect Fix Status The condition of the bug if it s been fixed or not SmartGrass 69 System Test Plan 10 1 MS Project Plan System Phase HICS Home Irrigation Control System 10 Test Schedule WBS Task Name Planned Start Planned Finish BCWS hrs 25 System Testing Phase 4 6 15 5 8 15 137 2 5 1 System Testing Phase I Hardware 4 6 15 4 10 15 7 Testing 2 5 1 1 Raspberry Pi B 4 6 15 4 10 15 1 2 5 1 2 3 Arduino 4 6 15 4 10 15 1 2 5 1 4 Soil moisture sensor 4 6 15 4 10 15 1 2 5 1 5 Temperature sensor 4 6 15 4 10 15 1 2 5 1 6 Rain sensor 4 6 15 4 10 15 1 2 5 1 7 Relay Switch Module 4 6 15 4 10 15 1 2S2 System Testing Phase II Unit Testing 4 6 15 4 17 15 62 2 5 2 1 Soil Moisture Reading Collector 4 6 15 4 17 15 1 2 5 2 2 Control Board 4 6 15 4 17 15 1 2 5 2 3 Temperature Reading Collector 4 6 15 4 17 15 1 2 5 2 4 Control Board 4 6 15 4 17 15 1 3 30 2015 SmartGrass 70 System Test Plan HICS Home Irrigation Control System 2 5 2 5 Rain Reading Collector 4 6 15 4 17 15 1 2 5 2 6 Control Board 4 6 15 4 17 15 1 2 5 2 7 Analog Digital Converter 4 6 15 4 17 15 1 2 5
3. M te Priorit Manual the final packaging as a CD ROM and will also be S SEET made available online via the web application Table 2 2 Packing Reguirements Table 2 1 3 Performance Requirements Req Requirement Description Priority Proper sensor readings of soil moisture levels must be captured to ensure accurate and Sensor efficient watering schedules This requires f S 5 1 f s S 2 High Priority Accuracy solid construction of the sensor modules and proper software analysis of the data provided by the sensors Rai In the event of rainy weather the rain sensor ain k l uli 5 2 Detecti must quickly transmit an alert to the control 3 Moderate Priority etection E E unit to interrupt or delay any active watering 3 30 2015 SmartGrass 11 System Test Plan HICS Home Irrigation Control System eg The user will be able to set watering schedules Communication th hth RNI BEER rou e web application to send a signal to Between the Web th 5 GRBA e eeh e E e central control unit to initiate watering Ko 5 2 Application and S 2 High Priority This must happen in a timely manner to ensure Central Control f consistency between the scheduled start end Unit times and the actual start end times bp ss The soil moisture sensors will communicate Communication k with the central control unit to relay Between the Soil
4. Schedule set the watering for system scheduling and schedule waiting to see if it works as scheduled Table 3 16 Server Layer Component Tests 3 30 2015 SmartGrass 46 System Test Plan 4 Risks HICS Home Irrigation Control System The following is a list of possible risks that may be encountered while testing the HICS product The purpose of this section is to identify possible risks early so that they might be avoided during the testing phase 4 1 Risk Table Risk ID Risk Impact Severity Mitigation Strategy HICS Central ei bi A Ensure that the Raspberry Control Unit will f Raspberry Pi can t connect Pi can connect to the RI not be able to High f to Internet Web Server internet early in the interface with the development process web HICS unit will not R Raspberry Pi not receiving ba SE teg High Replace any faulty power power adapters if necessary function HICS unit will be Ensure that the Raspberry R3 Arduino s not receiving partially or Hich Pi can supply enough power from Raspberry Pi completely unable E power over USB to power to function the Arduino devices Raspb Pi Arduino dat HICS unit will b ia SC aka z x re Thoroughly test the serial communication over serial partially or SE R4 NINO High port communication port not functioning completely unable between these devices properly to function ds to th Relay Boards not wire
5. Server Layer 2 3 2 4 1 Web Services Subsystem 2 3 2 4 1 1 JSON Converter This module converts the JSON data from the HTTP request into corresponding domain objects that the web services will understand It also parses out the HICS system id from the request parameters for authorization 2 3 2 4 1 2 URI Authenticator The URI Authenticator module is responsible for authenticating the HICS system id that was attached to the API call If authorization is successful if routes the call to the appropriate Web Services method 2 3 2 4 1 3 Web Services The Web Services module contains all the API methods needed for the Service Caller Subsystem to communicate back and forth between the database 2 3 2 4 1 4 Response Handler This module takes the updated command state or status code and relays it to back to the system that initiated the request It returns the data or the 2 3 2 4 2 Web Application Subsystem 2 3 2 4 2 1 Model This module is defines the blueprint for the database tables It provides a new model or loads a model with existing data and set rules on how that data is accessed 2 3 2 4 2 2 Controller The Controller module handles all the dataflow between the HTML views and the database It is also responsible for loading views and handling all page routings 2 3 2 4 2 3 View UI This module is the graphical interface that the user interacts with to control or view the status of their HICS sys
6. The Relay Module converts the command from the Command Executer to an electronic signal that will toggle the irrigation valve s on or off 2 3 2 3 Interface Layer 2 3 2 3 1 Data Processing Subsystem 2 3 2 3 1 1 USB Serial Interface This module initiates the connection between the Interface Layer and the Hardware I O layer The connection and communication between the layers is done over a USB cable 2 3 2 3 1 2 JSON Message Builder The JSON Message Builder module converts the data received from the USB Serial Interface into a JSON Object and formats the URI request as well 2 3 2 3 1 3 Valve Command Processor This Valve Command Processor module parses the JSON object to determine what command is being relayed The module also maps the command to a serial data command that is to be transferred to Valve Controller Subsystem through the USB Serial Interface 2 3 2 3 2 Service Caller Subsystem 3 30 2015 2 3 2 3 2 1 API Caller This module builds the HTTP request and makes the appropriate call to the HICS API The JSON sensor readings object is attached to the request in the body and the HICS system identifier is attached in the parameters SmartGrass 23 System Test Plan HICS Home Irrigation Control System 2 3 2 3 2 2 Response Parser This module parses the HTTP response sent back by the HICS API and creates a JSON object from the body that is sent to the Valve Command Processor 2 3 2 4
7. Z SE Z K s E S i 2 A ZS S S s o E p z E lt a E D E i 5 a S 2 2 A 3 1 Central Control Unit v v v v v v 3 2 Soil Moisture Sensors v 3 3 Web Application 3 4 Water Scheduler v v v v v v 3 5 Soil Moisture Reports v v v 3 6 User Login 3 8 Rain Sensor v v v DB Management 3 10 S v v v v v v System 3 14 Temperature Sensor v v v 5 1 Sensor Accuracy v v v 5 2 Rain Detection v v v 53 Comm Between Web and Unit 8 2 Browser Support Table 2 10 Hardware I O Layer Requirements Table 3 30 2015 SmartGrass 28 System Test Plan 2 3 4 3 Interface Layer HICS Home Irrigation Control System Data Processing S S Service Caller S S o E 3 s E S 3 2 Requirements Name 2 Es aor S 5 D E Z gs e 5 sei E 5 8 E 2 QO ga o a m A S e Ge D 3 1 Central Control Unit v v v v v 32 Soil Moisture Sensors v v v 3 3 Web Application 3 4 Water Scheduler v v v v v 3 5 Soil Moisture Reports v v v 3 6 User Login 3 8 Rain Sensor v v v 3 10 DB Management System v v v v v 3 14 Temperature Sensor v v v 5 1 Sensor Accuracy 52 Rain Detection v v v Comm Between Web ni and Unit udi v 8 2 Browser Support Table 2 11 Interface Layer Reguirements Table 3 30 2015 SmartGrass 29 System Test Plan 2 3 4 4 Server Layer HICS Home Irrigation Control System Database Web Services S S Web Application
8. audio and HDMI and test it to make sure it works correctly We will also test it for its communication with the web server and the Hardware I O Layer to ensure its functioning as well 5 1 2 Soil Moisture Sensors Description In ground sensors that monitor and report soil moisture levels Test Approach We will provide different soil moisture environments to the sensor and measure its accuracy It will also be tested against the different physical conditions like pressure and temperature such that it won t break or malfunction 5 1 3 Web Application 3 30 2015 Description The web application will be used to interface with the central control unit The application is responsible for scheduling watering times as well as interfacing with the central control unit to control the water valves The web application will be built with SmartGrass 48 System Test Plan HICS Home Irrigation Control System a scalable interface to enable the same functionality on a mobile device as it would on a desktop computer while maintaining a similar look and feel Test Approach We will open our web browser on smartphone tablet and computer We must be able to see the moisture readings and current schedule for watering on the web application We will give command such as watering and schedule creation we must be able to see the updated information 5 1 4 Watering Scheduler Description The web application can schedule watering times and dur
9. will be contained inside a mountable hard 1 Critical Priority Housing plastic container 4 Soil sensors will be included in the final packaging Soil of HICS They will be located within their own boxes 42 Moisture and NG have EE EECHER he Modenie PASTY Sensor describes their proper installation The user will be Packaging able to purchase additional soil moisture sensors and add them to their system Rain 1 Rain sensor will be included in the final packaging of HICS It will be located within its own box and will na 4 3 Sensor KE 3 Moderate Priority 4 have corresponding documentation that describes its Packaging proper installation 3 30 2015 SmartGrass 10 System Test Plan HICS Home Irrigation Control System 1 Power cable and 1 Ethernet cable will be an Connecting ines in the tinal packaging Si HICS Their 3 Moderate Prictity Cables intended purpose is to be used with the central control unit The HICS software should be a stand alone web application that requires no set up from the user The user must register an account with a valid product Software a D TE 4 5 Apnlicati n serial number to access the web application Once 1 Critical Priority pE they are logged into their account and their device has been connected they will be able to access the features of the HICS A user manual will be presented to the user that details User the use and operation of HICS It will be provided in NI 4 6
10. 2 8 Sensor Data Package 4 6 15 4 17 15 2 2 5 2 9 Serial Data Sender 4 6 15 4 17 15 2 2 5 2 10 Serial Data Receiver 4 6 15 4 17 15 2 2 5 2 11 Command Executor 4 6 15 4 17 15 3 2 5 2 12 Relay Module 4 6 15 4 17 15 3 2 5 2 13 USB Serial Interface 4 6 15 4 17 15 2 2 5 2 14 Valve Command Processor 4 6 15 4 17 15 3 2 5 2 15 JSON Message Builder 4 6 15 4 17 15 3 2 5 2 16 Response Parser 4 6 15 4 17 15 3 2 5 2 17 API Caller 4 6 15 4 17 15 2 2 5 2 18 View 4 6 15 4 17 15 4 2 5 2 19 Controller 4 6 15 4 17 15 5 2 5 2 20 Model 4 6 15 4 17 15 3 2 5 2 21 Response Parser 4 6 15 4 17 15 3 3 30 2015 SmartGrass 71 System Test Plan HICS Home Irrigation Control System 2 5 2 22 Web Services 4 6 15 4 17 15 5 2 5 2 23 URI Authenticator 4 6 15 4 17 15 2 2 5 2 24 JSON Converter 4 6 15 4 17 15 3 2 5 2 25 Stored Procedures 4 6 15 4 17 15 3 2 5 2 26 DB Interface 4 6 15 4 17 15 2 2 5 3 System Testing Phase III Component 4 13 15 4 24 15 37 Testing 2 5 3 1 Soil Moisture Sensor Subsystem 4 13 15 4 24 15 3 2 5 3 2 Temperature Sensor Subsystem 4 13 15 4 24 15 3 2 5 3 3 Rain Sensor Subsystem 4 13 15 4 24 15 3 2 5 3 4 Sensor Controller Subsystem 4 13 15 4 24 15 4 2 5 3 5 Valve Controller Subsystem 4 13 15 4 24 15 4 2 5 3 6 Data Processing Subsystem 4 13 15 4 24 15 4 2 5 3 7 Service Caller Subsystem 4 13 15 4 24 15 4 2 5 3 8 Web Application Subsystem 4 13
11. 4 1 Risk Table 46 7 1 Test Metrics Table 58 8 1 Hardware Tests Criteria 59 8 2 Unit Tests Criteria 62 8 3 Component Tests Criteria 64 8 4 Integration Tests Criteria 65 8 5 System Validation Tests Criteria 65 10 1 Test Phase Schedule Table 71 11 1 Approval Table 12 3 30 2015 SmartGrass System Test Plan HICS Home Irrigation Control System 1 Introduction This System Test Plan document will provide information about the testing aspects of the Home Irrigation Control System HICS project Here we will breakdown our project into its smallest components and describe all of their corresponding testing details namely the features to be not to be tested possible risks testing approaches item pass fail criteria test deliverables and test schedule This document will expand upon the layers proposed in our ADS our Sensor Layer Hardware I O Layer Interface Layer and Server Layer It will also make references to our previous documents the System Requirements Specification Architecture Design Specification and Detailed Design Specification 1 1 Product Concept HICS is an intelligent home irrigation control system that utilizes soil moisture sensors to measure the amount of moisture present in the user s lawn and use this information to water the lawn in an efficient way The rain sensors and the temperature sensors help prevent watering when unnecessary The sensors hardware and their proper integration and programming make HICS a machine
12. A m o S ka z a z 3 z D S A gt A z Central Control 3 1 i v v v Unit 32 Soil Moisture v v Sensors 33 Web Application v v v 3 4 Water Scheduler AW v v v v v v v v v Soil Moisture 3 5 v v v v v v Reports 3 8 Rain Sensor v v Temperature 3 14 v v Sensor 5 1 Sensor Accuracy W v v v v 5 2 Rain Detection v v v v Table 2 7 Reguirements Traceability Matrix 3 30 2015 SmartGrass 20 System Test Plan HICS Home Irrigation Control System 2 3 Detailed Design Specification The Detail Design Specification DDS document describes the low level design of the Home Irrigation Control System HICS project It breaks down every piece of the project into its lower components and describes all of their data flows and the roles Additionally The DDS document expands upon the layers proposed in our Architecture Design Specification document the Sensor Layer Hardware I O Layer Interface Layer and Server Layer It provides the actual data types data flows dependencies and features along with some pseudo code that demonstrates the functionality of the module 2 3 1 Module Decomposition Chart Server Layer User Admin Interface Web Application Subsystem no r A view e Lech Controller Ja Authenticator Interface Layer ak g w ACI Response i API m Parser Caller SoilMoisture Reading Collector Control Le d Board Valve ISON Hardware I O Layer Command Message i Processor Bu
13. Case Specification Each test case will consist of following terms e Test Case ID A unique ID associated with the test case e Description Details of the test performed and description of the reason behind the test e Pre Condition The condition the system is in while performing the test e Post Condition The condition the system is expected to be in after the test is performed e Input The input given to the test case e Expected Output The expected output from the test case with the specific input e Process Step by step walkthrough of the test performed 9 3 Test Case Results Each test case results will be documented with following properties e Test Case ID A unique ID associated with the test case e Tester Name Name of the person who perform the test e Test Date Date the test was performed 3 30 2015 SmartGrass 68 System Test Plan HICS Home Irrigation Control System Inputs All inputs provided to perform the test case Expected Output The output that was expected with the entered input Actual Output The actual output you see Result of Test Pass Fail Defect ID A unique ID associated with the specific type of defect Description Details explaining the reason behind pass fail of the test case 9 4 Defects Each defect will be documented with following properties 3 30 2015 Test Case ID A unique ID associated with the test case Defect ID A unique ID associated with the specific type of defect
14. Soil Soil moisture Soil moisture We will test that the High Moisture levels from the reading to the data received from Sensor environment Sensor Controller the soil moisture Subsystem subsystem sensors reflects the changes in the environment CSRI Rain Sensor Rain condition Rain condition We will test that the High Subsystem from the reading to the data received from environment Sensor Controller the rain sensor subsystem reflecting the changes in the environment CSTI Temperature Temperature Temperature We will test that the High Sensor reading from the reading to the temperature reading Subsystem environment Sensor Controller received from the subsystem sensor is correct to the reading on the thermostat Table 3 12 Sensor Layer Component Tests 3 30 2015 SmartGrass 41 System Test Plan 3 3 2 Hardware I O Layer HICS Home Irrigation Control System Test ID Subsystem Input Output Test Priority CHSI Sensor Data from Sensor data as We will test this High Controller environment electric signals subsystem is able to Subsystem conditions interface and collect data from all sensors CHVI Valve Control Command Digital signal to We will send some High Controller turn the valves on command control Subsystem or off through USB connect to this subsystem in order to turn on and turn off the valves Table 3 13 Hardware I O Layer
15. e 1 Moisture S information about soil moisture levels This oisture Sensors S nape nae 5 4 d must be accomplished periodically in an 2 High Priority an e d accurate and timely manner in order to avoid Central Control J Unit errors and to ensure consistency throughout the ni system If the server fails to receive communication Device f uje from the central control unit for a specified a 5 5 Power DEE 3 Moderate Priority i period of time it will notify the user that the Malfunction system is offline Table 2 3 Performance Requirements Table 2 1 4 Safety requirements Req Requirement Description Priority The electronic components of the soil moisture Soil Moisture sensors must be properly insulated against f OE 6 1 l EE Ste 2 High Priority Sensor Insulation external environmental conditions This is to ensure that they do not malfunction while in use Efficient air flow and low temperatures must be established while the central control unit is in Central Control Se ae 6 2 operation Computer fans and proper ventilation 2 High Priority Unit Temperature E i in the housing container will be used to cool the device and prevent it from overheating 3 30 2015 SmartGrass 12 System Test Plan HICS Home Irrigation Control System The central control unit will be powered from an external wall plug The source will be 120v and Proper Wiring imprope
16. readings as well as all the information for the web application This information includes user account information settings reports and weather data necessary for the application to perform as expected Test Approach We will test our web service by making queries to the database Our queries should be able to give us result with the information that we ask for 5 1 11 Device Registration 3 30 2015 Description A user must register their HICS device with their account in order to interface with it via the web application The central control unit will have a unique serial number on it that will be used to register the device to a user account Test Approach On the registration page we will enter a valid serial number and register our product If the serial number is not valid our system should not allow registration SmartGrass 50 System Test Plan HICS Home Irrigation Control System 5 1 12 Region Grouping Description In HICS each zone is individually controlled however a user may group their sprinkler zones into regions through the web application This functionality will allow the user to setup watering schedules for multiple zones at once without having to configure each individual zone Test Approach We will have our first valve and sensor grouped as Zone A and the two valves and sensors as Zone B When we look at the moisture on zone A we should see only one reading If we turn on Zone A only the first valve mus
17. temperature of the environment correctly H5 Rain sensor Report the rain condition of Does not report the rain the environment correctly condition of the environment correctly H6 Relay Switch Open close circuit for all 8 Does not open close Module channels circuit for any channel Table 8 1 Hardware Tests Criteria 3 30 2015 SmartGrass 61 System Test Plan 8 2 Unit Tests HICS Home Irrigation Control System Test ID Hardware Pass Criteria Fail Criteria USSSI Soil Moisture e Return a voltage Does not return a voltage Reading Collector difference reflecting the difference reflecting the change in soil moisture change in soil moisture USSS2 Control Board e Return a voltage level Does not return a voltage level responding to the responding to the moisture moisture reading reading USTS1 Temperature e Return a voltage Does not return a voltage Reading Collector difference to control difference to control board board processed processed USTS2 Control Board e Return a voltage level Does not return a voltage level responding to the responding to the temperature temperature change change USSS2 Control Board e Return a voltage level Does not return a voltage level responding to the responding to the moisture moisture reading reading USRSI Rain Reading e Return a voltage Does not return a voltage Collector difference reflecting the difference reflecting the change in rain condition change in rain conditi
18. that s smart enough to save people time effort and money on their home irrigation system Its purpose is to replace an existing sprinkler control system and allow users to control their home irrigation remotely through a web application that will scale to fit on a computer or mobile device HICS uses a central control unit to read soil moisture levels and set watering schedules accordingly by interfacing directly with the users existing irrigation valves The control unit allows users to remotely schedule or monitor their lawns by communicating with the HICS web application over the Internet Through the web application users will be granted complete access to all the features that HICS offers while providing an intuitive and easy to use interface 1 2 Testing Scope The system testing for HICS is a critical phase for ensuring our prototype has met all the critical standards set forth in previous document In order to maintain a realistic schedule for deployment our team has decided to focus testing in a limited and controlled environment By focusing on testing HICS in our mockup environment it will allow us to streamline a large portion of our hardware tests By not having to setup the product in a large scaled system and allowing us to test indoors it will allow the team more flexible and throughput when testing the controller and sensor devices 3 30 2015 SmartGrass System Test Plan HICS Home Irrigation Control System 2 References
19. the point of integration to provide a more throughout understanding before system testing Once integration is successful the team will then begin the overall testing of the system The strategy is test all functionality of the system as a whole to ensure that every requirement has been met and works properly The system testing phase is where we will also begin stress testing as well as environment testing our sensors 7 2 Tools The following is a list of tools to be used for development testing in HICS e Glimse e RESTconsole e JSLint e Web Performance Load Tester LITE e Ninject e Entity Framework 6 0 e Multi Meter 3 30 2015 SmartGrass 59 System Test Plan HICS Home Irrigation Control System 7 3 Core Functionality The following is a list of core functions that are paramount to HICS functionality and are to be focused during testing e Register User e Login logout e Collect and view sensor readings soil moisture temperature and rain e Start stop watering from web application e Create edit delete watering schedule e Stop watering for rain or freezing conditions 7 4 Test Metrics Priority Description Pass Criteria Fail Criteria 1 Critical Features that the system relies on 100 Less than 100 for functionality These features must be completed for the system to function 2 High Features that are highly important 90 Less than 90 to the system but are not completely required for the syst
20. values User The web application will allow for administrative 8 6 Administration accounts to create edit and delete user accounts and 2 High Priority Account their associated devices Table 2 6 Other Requirements Table 3 30 2015 SmartGrass 14 System Test Plan HICS Home Irrigation Control System 2 2 Architecture Design Specification The Architecture Design Specification for HICS defines the overall layout and structure of the system The ADS breaks down each major component of HICS into Layers which are comprised of Subsystems that handle a specific functionality 2 2 1 Architect Design Diagram Server Layer U1 in SE Interface Web Services We User Admin Interface a DB1 Interface Layer Si Service Caller Sensor Layer Hardware I O Layer RSI s gt i A3 Irrigation Valves Rain Sensor P1 Temperature Sensor Sensor Controller sc1 Data Processing Soil Sensor s Valve Controller Figure 2 1 Architecture Design Diagram 3 30 2015 SmartGrass 15 System Test Plan HICS Home Irrigation Control System 2 2 2 Data Flow Definitions Element Description Ul User enters input into the web application or interacts with the applications GUI Al User requested data is presented through the application GUI on the user s web or mobile browser A2 Data is received from the user to
21. verify the change on the web service IW Server Layer User Interaction Information display We will test by clicking High to user on some objects on UI display and check the information display reflecting the action Table 3 16 Server Layer Component Tests 3 5 System Validation Test ID Validation Input Output Test Priority VI Verify User User registers a User should be able We will test to see Critical Account HICS system in to activate a HICS that all user Register the website system and be able information is to log into the accepted in the system Register User screen and that the user can register and log into the system V2 Verify Valve User interaction The system will We will test to make Critical Control with the website to control the valves sure that the user is control the valves according to user s able to turn on and action turn off the valves correctly V3 Verify User interaction The website will We will test to make High Check Status with the website to show all sure that user is able check the status of information about check the status of their system their system that the their system and we user wants to check will verify all 3 30 2015 SmartGrass 45 System Test Plan HICS Home Irrigation Control System information to make sure it is correct V4 Verify User interaction A new watering We will test by High Watering with the website to schedule will be set setting up water
22. 15 4 24 15 4 2 5 3 9 Web Service Subsystem 4 13 15 4 24 15 5 2 5 3 10 Database Interface Subsystem 4 13 15 4 24 15 3 3 30 2015 SmartGrass 12 System Test Plan HICS Home Irrigation Control System 2 5 4 System Testing Phase IV Integration 4 20 15 5 1 15 17 Testing 2 5 4 1 Sensor Layer 4 20 15 5 1 15 2 2 5 4 2 Hardware I O Layer 4 20 15 5 1 15 3 2 5 4 3 Interface Layer 4 20 15 5 1 15 6 2 5 4 4 Server Layer 4 20 15 5 1 15 6 Doo System Testing Phase V System 5 4 15 5 8 15 14 Validation 2 5 5 1 Verify User Account Register 5 4 15 5 8 15 3 2 5 5 1 Verify Valve Control 5 4 15 5 8 15 3 2 5 5 1 Verify Check Status 5 4 15 5 8 15 4 2 5 5 1 Verify Watering Schedule 5 4 15 5 8 15 4 Table 10 1Test Phase Schedule Table 3 30 2015 SmartGrass 13 System Test Plan HICS Home Irrigation Control System 11 Approval Name Role Signature Date Keith Aholt Project Sponsor Mike O Dell Project Supervisor Billy Haile Mariam Team Leader Tung Vo Team Member Gautam Adhikari Team Member Jeremiah O Connor 3 30 2015 Team Member Table 11 1 Approval Table 74 SmartGrass
23. 8 5 System Validation Table 8 4 Integration Tests Criteria Test ID Hardware Pass Criteria Fail Criteria VI Verify User e User should be able to e Fail to activate HICS Account Register activate HICS system system and able to log in to the e Fail to store user s system information e User is unable to log in to the system V2 Verify Valve e The system will control e System is unable to control Control the valve according to the valves responding to user s action user s action user s schedule and change in environment conditions V3 Verify Check Status e User interaction with e Fail to show the correct the website to check the information of current status status of system of system V4 Verify Watering e User interaction with e Unable to store the water Schedule the website to set the setting watering schedule 3 30 2015 SmartGrass 67 System Test Plan HICS Home Irrigation Control System e System is unable to follow user s water settings Table 8 5 System Validation Tests Criteria 9 Testing Deliverable This section shortly explains what will be the output of the product after completion of the product It will explain the expected deliverables and the method we will use to have the tests operated It will document all the necessary tests performed 9 1 System Test Plan System test plan briefly explains what components of HICS are to be tested and how to carry out the test 9 2 Test
24. Component Tests 3 3 3 Interface Layer Test ID Subsystem Input Output Test Priority CID1 Data Sensor data Sensor data in We will test that this High Processing through USB JSON format subsystem receives Subsystem connection data from USB connection successfully and verify the JSON 3 30 2015 SmartGrass 42 System Test Plan HICS Home Irrigation Control System format of data after being processed CSS1 Service JSON format data JSON message We will use the web High Caller attached with URI service to check the Subsystem message from the URI Table 3 14 Interface Layer Component Tests 3 3 4 Server Layer Test ID Subsystem Input Output Test Priority CSAI Web User interaction User event object We will test all High Application with the web specifying the pages inputs Subsystem application events the user set including correct and off incorrect information and verify the system outputs the correct output CSSI Web URI request from A response to send We will test by High Service API caller back to the sending a HTTP Subsystem Interface Layer request and then we based on the verify the change on database query and database also to received data check the response to the Interface Layer CSDI Database Data request from Data responding to We will test this High Interface web services and different reguests module by sen
25. Department of Computer Science and Engineering The University of Texas at Arlington System Test Plan Smart lt Grass Team Members Belachew Haile Mariam GautamAdhikari Jeremiah O Connor Tung Vo Last Updated 3 30 2015 System Test Plan HICS Home Irrigation Control System TABLE OF CONTENTS EIST OF ET 4 LIST OF TAB UES oasis scvenceenccacevsncva aaraa aoaaa aeua d auaa aua da aaa 5 De INTRODUCTION RE 7 1 1 Product CONCEPteh eter iene A ENE i die ae Oi en ed ee 7 E lte BT TE H ER en 8 2 1 System Requirements Specification e nana 8 2 2 Architecture Design Specification e nanann 15 2 3 Detailed Design Specification nana 21 3 TEST ITEMS iors anaa a a aA aa Aaaa ENEE 31 3 1 Flardware EE EE A E A E T E E ces 33 3 2 Witt LESTSi nA E E N ee a deeg ei Eege 34 EC De eu e UR KEE 41 3 4 uge EE 44 3 5 System Validation aaa 45 Ai E 47 4 1 RISK Ee 47 5 FEATURES TO BE TESTED WE 48 5 1 Customer Requirements nana 48 5 2 Packaging Requirement aaa 51 5 3 Performance Requirements nn 53 5 4 EEN UE 54 5 5 Maintenance and Support Reguirements nan 54 5 6 Otter Requirement ve ives ANEJA ieee DEA ii PLEN dene a divina 55 6 FEATURES NOT EECHER eege 57 6 1 Customer Heouirements nana 57 6 2 Ra king RegulrementS EE 57 6 3 Performance Requirements cceccceeseeeeeeeeeeeeeeeeeeaeeeseeaaeeeeeeaaeeese
26. H A le El SES Soil Moisture Sensor Control Board CEH Temperature Reading Collector TRCI Temperature Sensor Control Board cB Rain Status Collector Rain Sensor Control Board Analog Digital Converter Sensor Data Packager Serial Data Sender Relay Module Irrigation Valve s Command Executor Serial Data Receiver USB Serial Interface JSON Message Builder Valve Command Processor API Caller Response Parser JSON Converter URI Authenticator Web Services Response Handler DB Interface Stored Procedures Database Controller Model View User A dmin 3 30 2015 RSet AD I dal RDS1 SDRI usn usiz JME1 VOP1 ACT RPI UAE UAT wS WS1 DEd DEB DEZ D I Di ce ci M1 vz Mi Uu Table 2 8 Producer Consumer Matrix SmartGrass 25 System Test Plan HICS Home Irrigation Control System 2 3 4 Requirements Traceability The following sections will detail layer by layer how each key requirement from our SRS is fulfilled by a combination of modules From the tables below you can see just how integrated the entire HICS system is and how requirements can span across multiple modules The Database Management System is a requirement that incorporates a large amount of modules into its functionality This is because the DBMS of HICS is the component that allows users to communicate with their systems and vice versa Other requirements that rely on multiple modules are the Central Control Unit Web Appl
27. Pi Reading Collector gt Control Board Rain Reading Collector Temperature A Sensor Subsystem serie Rain Sensor Subsystem Sensor Controller Subsystem gt Hardware I O Layer gt Valve Controller Subsystem Home Irrigation Control System Data Processing Subsystem 4 Interface Layer Hi Service Caller Subsystem ni Web Application Subsystem pi Web Service gt Server Layer Web Services Subsystem URI Authenticator Relay Switch Module JSON Converter Database Interface D Subsystem Stored Procedures DB Interface Figure 3 1 Testing Composition Diagram Control Board Analog Digital Converter Arduino Sensor Data Packager Serial Data Sender Serial Data Receiver Command Executor Soil Moisture Command Executor Relay Module USB Serial Interface Valve Command Temperature Sensor Processor JSON Message Builder Response Parser API Caller View Rain Sensor Controller Response Parser 3 30 2015 SmartGrass 32 System Test Plan HICS Home Irrigation Control System 3 1 Hardware Tests TestID Hardware Input Output Test Priority HI Raspberry Pi B JSON response Commands to the We will test the Critical after sending Arduino through functionality of HTTP reguest USB interface the operating sensor data from sensor data system to ensure Arduino through an API that the program call on the Raspberry Pi can process all communication between
28. S S Interface S S PP o Z Requi ts 5 5 5 equiremen 5 S e go S S 3 Name S 3 8 z 3 E 5 8 s z oO oa T ko Q o g x 5 8 S A 2 S g E Z oi z Z 2 5 m pi 5 Z 5 e S z S A z S Ke Ki o Z Fa SH K Loi Central Control 3 1 Unit 32 Soil Moisture Sensors 3 3 Web Application v v v v v v v v 34 Water Scheduler v v v v v v 35 Soil Moisture v v v z v Reports 3 6 User Login v v v v v 3 8 Rain Sensor 3 10 DB Management v v i System 314 Temperature Sensor 5 1 Sensor Accuracy 5 2 Rain Detection Comm Between a8 Web and Unit v v 8 2 Browser Support v Table 2 12 Server Layer Reguirements Table 3 30 2015 SmartGrass 30 System Test Plan HICS Home Irrigation Control System 3 Test Items This section will detail the steps we are going to take to test HICS as a whole We will first test each of the hardware components separately to ensure that the parts work as intended We will then work from the ground up by testing the modules then moving on to integration testing and the testing of each layer Aside from the hardware section every testing phase will be testing with the components already integrated and will work on top of a reliable connected system 3 30 2015 SmartGrass 31 System Test Plan HICS Home Irrigation Control System Hardware Unit Testing Component Integration System Testing Testing Testing Validation Soil Moisture Reading Collector Control Board Soil Moisture Sensor Subsystem Temperature Raspberry
29. This section provides a reference for the System Test Plan to the System Requirements Specification Architectural Design Specification and Detailed Design Document These documents were created prior to this Test Plan and have been used when evaluating the teams approach to testing HICS 2 1 System Requirements Specification The SRS outlines the requirements for the HICS project It goes over the Customer Packaging Performance Safety Maintenance and Support and Other Requirements 2 1 1 Customer requirements Req Requirement Description Priority The central control unit is responsible for all communication between the web application soil Central moisture sensors and water valves The control unit 3 1 Control will transmit the readings from the soil moisture 1 Critical Priority Unit sensors and report the data to the web application The control unit also controls the water valves which sets the flow of water to the sprinkler system nor In ground sensors that monitor and report soil 3 2 Moisture 1 Critical Priority moisture levels Sensors The web application will be used to interface with the central control unit The application is responsible for scheduling watering times as well as Web interfacing with the central control unit to control 3 3 Appian the water valves The web application will be built 1 Critical Priority with a scalable interface to enable the same funct
30. al conditions This is to ensure that they do not malfunction while in use Test Approach The wires connecting the sensor must not touch any conductor or water We will test that the insulation is waterproof on the sensor 5 4 2 Central Control Unit Temperature Description Efficient airflow and low temperatures must be established while the central control unit is in operation Computer fans and proper ventilation in the housing container will be used to cool the device and prevent it from overheating and possibly starting a fire Test Approach We will test the HICS central control unit under different temperatures We will put it in different environment temperatures ranging from 10 130 degrees Fahrenheit and make sure each device is functioning correctly 5 4 3 Proper Wiring of Central Control Unit Description The central control unit will be powered from an external wall plug The source will be 120v and improper wiring could leave the user exposed to currents in the range of 15 20 amps It is crucial that the control unit is wired properly to accept this input and cause no harm to the device or the user Test Approach We will test that the wires coming and going to the central control unit are not bare anywhere and are connected properly 5 5 Maintenance and Support Requirements This section details the requirements for ongoing use of HICS after its final delivery to the user Achieving maximum long term performance is the k
31. alves Unable to receive control commands form the Raspberry Pi Unable to execute commands to turn on off the valves CID1 Data Processing Subsystem e Map control commands to local variable e Convert sensor data to JSON object Unable to map control commands to local variable Unable to convert sensor data to JSON object CSSI Service Caller Subsystem e Attach JSON object of data sensor to URI e Make an URI request to the Web service Unable to attach JSON object of data sensor to URI Unable to make an URI request to the Web service CSA1 Web Application Subsystem e Display GUI object for user to interact Unable to show GUI object or show a wrong object 3 30 2015 65 SmartGrass System Test Plan HICS Home Irrigation Control System CSSI Web Service e Process HTTP request Unable to process HTTP Subsystem with sensor data request e Return response with Unable to return response with control commands control commands e Update or retrieve data Unable to update or retrieve from database data from database CSDI Database Interface e Store database functions Unable to store DB functions Subsystem e Store information about Unable to information about sensor data user profile sensor data user profile control commands control commands 8 4 Integration Tests Table 8 3 Component Tests Criteria Test ID Hardware ISI Sensor Layer Pass Criter
32. ations for the sprinkler system on a soil moisture percentage basis These schedules are determined by other environmental conditions as well such as temperature and time of year The scheduler will display upcoming watering schedules and allow users to manually create edit or delete them Test Approach We will create edit and delete watering schedules and test the respond time and efficiency When we schedule a watering against the city s schedule the system must warn the user and suggest user to choose different time available 5 1 5 Soil Moisture Reports Description The web application will generate visual reports of the current soil moisture levels The reports will be generated as graphic representations of the data and will be filterable by zone year month and day Test Approach Readings collected from each soil moisture sensor will be saved on the database To test this we will note down some previous data and compare it with the one we see on the soil moisture report We will test if the sensor reading corresponds with the specific zone time and day 5 1 6 User Login Description The user must login to the web application using the correct credentials to be able to remotely control features of HICS Test Approach To test the login feature we will try to login with various right and wrong login credentials If the right credentials are entered then only the system should allow the user to login and use the HICS
33. ayer The Interface Layer consists of two sub systems the Service Caller and Data Processor The Interface Layer is responsible for processing all communication between the Hardware I O and the Server Layer The communication between the two layers consists of input readings from the Hardware I O Layer as well as control commands from the Server Layer Web Services Data Processing Valve Controller Figure 2 4 Interface Layer Diagram 3 30 2015 SmartGrass 18 System Test Plan HICS Home Irrigation Control System 2 2 6 Server Layer The Server Layer has three sub systems Web Application Web Services and Database The Server Layer handles communication and control between the web application web services and the Interface Layer The Server Layer has access to the database and uses the internet to exchange data between all interfaces Al ag 2 User Web Application DIA Database Service Caller DB Figure 2 5 Server Layer Diagram 3 30 2015 SmartGrass 19 System Test Plan 2 2 7 Reguirements Traceability HICS Home Irrigation Control System Hardware I O Interface Sensor Layer Server Layer Layer Layer o Z Requirements 5 5 S BE o Wa rss Je Mi w Ir e E Name S A S E Z 8 o g 2 S D Q E E o 5 a 2 o 5 o o 8 3 ES T G i g o O O S 2 n S a ea g S Ke aa fat S lt D a D rz a D D z o
34. d Comman d Eege irrigation valves Double check relay board R5 correctly to irrigation Moderate will not be able to connections valves be processed E that th HICS unit will not nsure that the web server The web server is down not S is set up properly and use a R6 be able to High d responding to requests dependable service function e provider Table 4 1 Risks Table 3 30 2015 SmartGrass 47 System Test Plan HICS Home Irrigation Control System 5 Features To Be Tested This sections details which requirements will be tested during the testing phase of HICS The requirements listed below correspond to the various requirements specified in our SRS 5 1 Customer Requirements This section describes all the customer reguirements listed on our System Reguirement Specification document and gives a brief description of how each feature will be tested to meet the acceptance criteria of the reguirement 5 1 1 Central Control Unit Description The central control unit is responsible for all communication between the web application soil moisture sensors and water valves The control unit will transmit the readings from the soil moisture sensors and report the data to the web application The control unit also controls the water valves which sets the flow of water to the sprinkler system Test Approach We will test the Raspberry Pi for all physical and functional tests We will connect all the ports like USB Ethernet power
35. ding a Subsystem controllers HTTP reguest and making some reguest from the UI then we 3 30 2015 SmartGrass 43 System Test Plan HICS Home Irrigation Control System verify how this subsystem responds 3 4 Table 3 15 Server Layer Component Tests Integration Tests Test ID Layer Input Output Test Priority ISI Sensor Layer Changes in environment conditions Electric signal on the pins of Arduino We will test by changing the environment conditions by spilling water on the header of the rain sensor sinking the header of the soil sensor into water and pull the temperature of thermal sensor at the same time Then we will verify the change of the values of sensor readings High IHI Hardware UO Layer Control command from Raspberry Pi Operation of the valves and reading values of sensors We will use Raspberry Pi to send a command to turn the valves on or off then read sensor values being sent from the Arduino High 3 30 2015 44 SmartGrass System Test Plan HICS Home Irrigation Control System IH Interface Layer Change in local Change on HTTP We will test by High variables in the reguest to a web assigning different programming service values of local variables running on in the programming Raspberry Pi running on Raspberry Pi Then we
36. eaaeeeseeaaeeeeneaeeeeneaaes 57 3 30 2015 SmartGrass System Test Plan HICS Home Irrigation Control System 6 4 Safety Requirements EE 57 6 5 Maintenance and Support PReouirements an 58 6 6 Other Requirements ccceesceceeeeeceeeeeeeeeeeeeeeceaeeeeaaeseeaeecaeeeseaeseeaaesdeneeseeeeesaeeseaaeenenees 58 T unge ee 59 7 1 ue Ce E 59 Ta KEE 59 3 lt Core Functionality ue d r ee Ee EE lie dee ean aes 60 7 4 restMETNI SE eegene 60 8 ITEM PASS FAIL GRITERJA s usevsaa in d kje en A ES bk adl A ae Aj ae aaa Gl kobili 61 8 1 Leien 61 8 2 Unit RTE 62 8 3 Component Tests ugereest EE a ee 65 8 4 uge lee DEE 66 8 5 System ValidatON daisies ada heed encanta dedka ME voka detec ee ie aieeaa 67 9 TESTING DEE REENEN 68 9 1 System Test Planoa ti evi eege dina aie 68 9 2 Test Case Specification eccccccccecceeceeseeeeeeeeceeeeeeaeeeeaeecseeeecaeeeeaaesseaeeceeeesiaeeeenaeesenees 68 GR WEN KEE 68 9 4 RE 69 10 TEST SOME DUE eege ee 70 10 1 MS Project Plan System Phase 70 14 APPROV BE 74 3 30 2015 SmartGrass System Test Plan HICS Home Irrigation Control System Document Revision History Revision Revision Number Date Description Rationale 3 30 2015 SmartGrass System Test Plan Figure 3 30 2015 2 1 2 2 2 3 2 4 2 5 2 6 3 1 HICS Home Irrigation Control System List of Figures Title Architecture Design Diagram Sensor Layer Diagram HW I O Layer Diagram Interface Lay
37. ect URI format to a web service to be processed Table 3 8 Service Caller Subsystem Unit Test 3 2 8 Web Application Subsystem Test ID Module Input Output Test Priority USWAI View User interaction User event object We will test all page High with the web specifying the inputs including application events the user set correct and incorrect off information and verify the system outputs the correct output USWA2 Controller Event object from Query on database We will test that this High a user interaction system based on module will be able event object to handle the data transfer from database and UI USWA3 Module Controller request Anew view model We will test with High or a model that different kinds of represents existing view models to data check against run time errors and null reference exceptions Table 3 9 Web Application Subsystem Unit Test 3 30 2015 SmartGrass 38 System Test Plan 3 2 9 Web Services Subsystem HICS Home Irrigation Control System Test ID Module Input Output Test Priority USWSI Response Command data A response to send We will test by High Parser from data base back to the sending a HTTP Interface Layer reguest and then we based on the verify the change on database guery and the database also to received data check the response to the Interface layer USWS2 Web URI reguest from A response that We will test by High Services API call
38. either update or request information about their system DBI Data is gueried from the database and passed along to the Database Interface subsystem DII Requested data from the web application query is located and returned DI2 Requested data from the web service query is located and returned DI3 The Database Interface stores data into the DB SI The data reguested from the interface is gueried or data is sent to the database for storing S2 The service caller receives a response from a web service with requested information or a response status code C1 A request sent to the web service for either a valve switch command on off data update response or the caller sends new sensor readings for storage C2 Data returned by the web service is relayed to the data processor to check for valve switch Commande to turn the water valves on or off PI Data from the sensors is processed and formatted then passed to the service caller P2 Response data from the service caller is processed and an operation command is sent to the valve controller SCI Parsed data from the sensors is sent to the data processing subsystem IV1 Control signals are parsed and sent to the irrigation valves to turn them on or off 3 30 2015 SmartGrass 16 System Test Plan HICS Home Irrigation Control System RSI An alert signal is sent from the rain sensor if a specified amount of rain has been detected TSI A temperature reading from the temperature sen
39. em to function 3 Moderate Features that improve the quality 75 Less than 75 of the system but are not required for the system to function 4 Low Features reserved for future 0 N A requirements or extras that do not impact the system functionality Table 7 1 Test Metrics Table 3 30 2015 SmartGrass 60 System Test Plan HICS Home Irrigation Control System 8 Item Pass Fail Criteria This section describes in detail how pass and fail criteria for each individual test will be regulated This will help our team to identify the acceptable or not acceptable standards for each portion in the system It will also clearly define the success or failure of each individual test 8 1 Hardware Tests Test ID Hardware Pass Criteria Fail Criteria HI Raspberry Pi Store data Does not store data B Processes HTTP request Does not process all Relay commands to the HTTP requests Arduino Does not relay commands to the Arduino H2 Arduino Interface with sensors Does not interface with Send sensor values to sensor Raspberry Pi Does not send sensor Relay commands to the values to the Raspberry Pi Relay Switch Module Does not relay commands to the Relay Switch Module H3 Soil moisture Measure the moisture level Does not measure the soil sensor of the soil correctly moisture sensor correctly H4 Temperature Measure temperature of the Does not measure sensor environment correctly
40. er Diagram Server Layer Diagram Module Decomposition Diagram Testing Composition Diagram Page 15 17 18 18 19 21 32 SmartGrass System Test Plan HICS Home Irrigation Control System List of Tables Table Title Page 2 1 Customer Requirements Table 10 2 2 Packaging Requirements Table 11 2 3 Performance Requirements Table 12 2 4 Safety Requirements Table 13 2 5 Maintenance and Support Requirements Table 13 2 6 Other Requirements Table 14 2 7 Data Flow Definitions Table 17 2 8 Producer Consumer Matrix 25 2 9 Sensor Layer Requirements Table 27 2 10 Hardware I O Requirements Table 28 2 11 Interface Layer Requirements Table 29 2 12 Server Layer Requirements Table 30 3 1 Hardware Test Table 33 3 2 Soil Moisture Sensor Subsystem Unit Test 34 3 3 Temperature Sensor Subsystem Unit Test 34 3 4 Rain Sensor Subsystem Unit Test 35 3 5 Sensor Controller Subsystem Unit Test 35 3 6 Valve Controller Subsystem Unit Test 36 3 7 Data Processing Subsystem Unit Test 37 3 8 Service Caller Subsystem Unit Test 37 3 9 Web Application Subsystem Unit Test 38 3 10 Web Service Subsystem Unit Test 39 3 30 2015 SmartGrass System Test Plan HICS Home Irrigation Control System 3 11 Database Interface Subsystem Unit Test 40 3 12 Sensor Layer Component Tests 41 3 13 Hardware I O Layer Component Tests 42 3 14 Interface Layer Component Tests 42 3 15 Server Layer Component Tests 43 3 16 Integration Tests Table 44 3 17 System Validation Table 45
41. er contains control sending a HTTP commands reguest with different values in the fields of the JSON body then we verify the response USWS3 URI HTTP request A confirm whether We will test by High Authenticator the URI is sending a correct authenticated URI and an invalid UIR to see how each is handled USWS4 JSON HTTP request Extracted sensor We will test by High Converter data from JSON sending a HTTP body message request with a JSON body then verify the 3 30 2015 SmartGrass 39 System Test Plan HICS Home Irrigation Control System information saved on database 3 2 10 Database Interface Subsystem Table 3 10 Web Service Subsystem Unit Test Test ID Module Input Output Test Priority USSI1 Stored Data queries for A SQL table data We will test this High Procedures the Web Service module by using all Module function calls to request the data then we verify the database USSI2 DB Data request from Data responding to We will test this High Interface web services and different reguests module by sending a controllers HTTP reguest and making reguests from the UI then we verify how this module responds Table 3 11 Database Interface Subsystem Unit Test 3 30 2015 SmartGrass 40 System Test Plan HICS Home Irrigation Control System 3 3 Component Tests 3 3 1 Sensor Layer Test ID Subsystem Input Output Test Priority CSSI
42. essing Subsystem HICS Home Irrigation Control System Test ID Module Input Output Test Priority UIVDPI USB Serial Communication A serial connection We will test that at High Interface rate of a serial is ready for sending this point the data connection and receiving data can be sent and received from a serial connection UIDP2 Valve Control command Correct control We will test that this High Command as an array command to single module assigns Processor local variables correct values to local variables based on an input array UIDP3 JSON Sensor data A JSON message to We will test that the High Message received through a be sent to a web sensor data is built Builder serial connection service into the correct JSON format Table 3 7 Data Processing Subsystem Unit Test 3 2 7 Service Caller Subsystem Test ID Module Input Output Test Priority UISC1 Response API response from An array in JSON We will test this High Parser the Server Layer format module will receive a response and parse it into a JSON format after a HTTP request is returned 3 30 2015 SmartGrass 37 System Test Plan HICS Home Irrigation Control System UISC2 API Caller JSON message to An URI format We will test that this High be sent to web data being sent to module will send a services web service HTTP request in a corr
43. eviewing again 6 6 Other Requirements 6 6 1 Central Control Unit Mounting 3 30 2015 Description The central control unit must be mounted in a location where it can interface with wires from the water valves and soil moisture sensors It must also be within range of Ethernet and power outlets Reasoning People may mount their central control unit anywhere they want SmartGrass 58 System Test Plan HICS Home Irrigation Control System 7 Testing Approaches This section will detail the approaches our team will take for testing the HICS product These tests are to ensure that each critical reguirement specified in our SRS is met and tested to completion This section will also detail the tools and methods we will be using throughout the testing phase project 7 1 Strategy The overall strategy approach for HICS s implementation is to start testing from the beginning of the prototype phase This means that each component will be tested as it is finished This approach is to prevent integration of untested and incomplete components Once component tests are successful we will then begin integration testing each completed component one by one This means that once a component is integrated with another we test the functionality of the integration before adding in another component Each integration will be tested to ensure each sub component functions as it should We will also test as much overall functionality that is possible at
44. ey to reducing product maintenance These requirements aim to minimize system errors and hardware failures 3 30 2015 SmartGrass 54 System Test Plan HICS Home Irrigation Control System 5 5 1 Sensor Maintenance Description The soil and rain sensors will be replaceable in the event of hardware failure Test Approach We will add replace a sensor and test if our system recognizes the new sensor We will also add and remove few sensors to make sure that sensor mapping works correctly 5 5 2 Scalability Description The central control unit will support adding additional valves or soil sensors Test Approach To test the scalability we will add one more relay module and control the valves If we can take moisture reading and control the valve for one set we can do it for multiple set of valves and sensors 5 6 Other Requirements This section describes all the other requirements listed on our System Requirement Specification document and gives a brief description of how each feature will be tested to meet the acceptance criteria of the requirement 5 6 1 Mapping the Soil Moisture Sensors to Irrigation Valves Description HICS requires that the user properly maps the soil moisture sensors to the irrigation valves The central control unit will feature a diagram showing the one to one relationship between soil moisture sensor inputs and irrigation valve inputs Test Approach To test the mapping we will take the reading o
45. f the specific soil sensor and turn on the valve associated with it We will also make sure it s in the right zone by turning on the valves of specific zones individually 5 6 2 Browser Support 3 30 2015 Description The web application should be scalable and responsive in all of the latest versions of Mozilla Firefox Google Chrome and Internet Explorer Test Approach We will open our web application on all supporting browsers and make sure we can use all features without any trouble We will walk through every process that our system allows through web SmartGrass 55 System Test Plan HICS Home Irrigation Control System 5 6 3 Application Security and Privacy Description All user data and account information will be stored in a secured DBMS Users will only be allowed to access their HICS devices and account information if they provide the correct login credentials In addition all user passwords will be encrypted and stored only as hash values Test Approach We will try to login with incorrect credentials The system must not allow access We will make sure the passwords are encrypted and not available to be seen by anyone else 5 6 4 User Administration Account 3 30 2015 Description The web application will allow for administrative accounts to create edit and delete user accounts and their associated devices Test Approach We will test all the functionalities that an admin can do We will try to access t
46. he database and look up user details We will change information on our self made user account and compare the change by logging as that user for that account again SmartGrass 56 System Test Plan HICS Home Irrigation Control System 6 Features Not To Be Tested This section will detail the requirements of HICS that will not be tested during the testing phase Most of the requirements are not to be tested either cannot be tested or their functionality has no impact on how the system operates 6 1 Customer Requirements All customer requirements will be tested 6 2 Packing Requirements 6 2 1 User Manual Description A user manual will be presented to the user that details the use and operation of HICS It will be provided in the final packaging as a CD ROM and will also be made available online via the web application Reasoning User manual needs no testing It is just typed instructions for the user 6 2 2 Software Application Description The HICS software should be a stand alone web application that requires no set up from the user The user must register an account with a valid product serial number to access the web application Once they are logged into their account and their device has been connected they will be able to access the features of the HICS Reasoning We will test the application by registering the serial number 6 3 Performance Requirements All safety requirements will be tested 6 4 Safety Requirements
47. ia e Receive information about environment conditions to electric signal including soil moisture temperature rain condition Fail Criteria Unable to convert information about environment conditions to digital values Report wrong information about environment conditions TH1 Hardware I O Layer e Convert the electric signals from sensors to digital values e Execute control commands to turn on off the valves e Interface with Interface Layer Convert the electric signals from sensors to digital values Unable to execute control commands to turn on off the valves Fail to send and receive data with Interface Layer IH Interface Layer 3 30 2015 e Interface with Hardware UO Layer e Parse data into proper format 66 Fail to send and receive data with Interface Layer Fail to parse data into format SmartGrass System Test Plan HICS Home Irrigation Control System Server Layer e Communicate with Server Layer e Show GUI for user to interact e Store information about sensor command and user profile e Process information based on update from sensor data Unable to send a HTTP request or receive response Unable to show GUI object or show a wrong object corresponding user s actions Unable to store information about sensor command and user profile Fail to process information based on update from sensor data Fail to receive data
48. ication and Water Scheduler Each one of these requirements is fundamental to how HICS will function and where its value comes from The components reflect that because we ve designed this system to implement everything we emphasized during our SRS and ADS 3 30 2015 SmartGrass 26 System Test Plan 2 3 4 1 Sensor Layer HICS Home Irrigation Control System Soil Moisture Temperature Sensor gt R l Sensor S S S S ain Sensor S S e Z ran p E 5 S S S S z Requirements Name S S 8 si 2 3 sj 2 2 2 O S s O K as o 5 O S 5 O z nA 8 O eh O 5 co O GE J V g o g S o O a Z Z S oe gO ZS A S E es s d d gt gt gt 3 1 Central Control Unit v v v v v v 32 Soil Moisture v v Sensors 3 3 Web Application 3 4 Water Scheduler v v v v 3 5 Soil Moisture v v Reports 3 6 User Login 3 8 Rain Sensor v v DBM t 3 10 E v v v v v v System 3 14 Temperature Sensor v v 5 1 Sensor Accuracy v v v v I2 Rain Detection v v 53 Comm Between l Web and Unit 8 2 Browser Support Table 2 9 Sensor Layer Requirements Table 3 30 2015 SmartGrass 27 System Test Plan 2 3 4 2 Hardware I O Layer HICS Home Irrigation Control System Sensor Controller S S Valve Controller S S Ko S S 5 S S Requirements E be E 2 S D O Eu Ga Q O Z O Q S Name ZE a A x 2 o A o a S D
49. ilder Temperature Reading Collector lise Serial k Analog USB Serial Interface Er g Data eeng Control e Sender Converter e Board S Status z Collector Irrigation Valves Serial Ge reis MN Command WE soni EH Module RM1 Figure 2 6 Module Decomposition Diagram 3 30 2015 SmartGrass 21 System Test Plan HICS Home Irrigation Control System 2 3 2 Module Definitions 2 3 2 1 Sensor Layer 2 3 2 1 1 Rain Sensor Subsystem 2 3 2 1 1 1 Rain Status Collector The Rain Signal Collector is responsible for detecting the presence of rain If the collector collects enough precipitation the signal collector transmits an alert signal to the rain sensor Control Board module 2 3 2 1 1 2 Control Board The rain sensor Control Board is responsible interpreting the analog voltage signal that transmits from the rain collector Once the signal has been interpreted it is relayed to the ADC module 2 3 2 1 2 Temperature Sensor Subsystem 2 3 2 1 2 1 Temperature Reading Collector The Temperature Reading Collector reads the temperature of the environment and reports the signal to the temperature sensor Control Board module 2 3 2 1 2 2 Control Board The temperature sensor Control Board interprets the analog signals being produced by the temperature sensor and reports the information to the ADC module 2 3 2 1 3 Soil Moisture Sensor Subsystem 2 3 2 1 3 1 Soil Moisture Reading Collecto
50. in its own box and will have corresponding documentation that describes its proper instillation Test Approach Temperature sensor box will be tested for its perfect fit We will make sure it the housing won t affect the temperature reading 3 30 2015 SmartGrass 52 System Test Plan HICS Home Irrigation Control System 5 3 Performance Requirements This section describes all the performance requirements listed on our System Requirement Specification document and gives a brief description of how each feature will be tested to meet the acceptance criteria of the requirement 5 3 1 Sensor Accuracy Description Proper sensor readings of soil moisture levels must be captured to ensure accurate and efficient watering schedules This requires solid construction of the sensor modules and proper software analysis of the data provided by the sensors Test Approach All sensors will be tested for their accuracy To get the accurate reading from the soil moisture sensor the sensors will be placed on the right depth of soil Rain sensor and temperature sensor will be on the rooftop While coding we will make sure the calibration will be exact 5 3 2 Device Power Malfunction Description If the web application fails to receive communication from the central control unit for a specified period of time it will notify the user that the system is offline Test Approach We will test each device and make sure there won t be any power malf
51. ionality on a mobile device as it would on a desktop computer while maintaining a similar look and feel 3 30 2015 SmartGrass System Test Plan HICS Home Irrigation Control System The web application can schedule watering times Watering and durations for the sprinkler system The nu ec 3 4 See E 1 Critical Priority Scheduler scheduler will display upcoming watering schedules and allow users to create edit or delete them Soil The web application will generate visual reports of f the current soil moisture levels The reports will be PE 3 5 Moisture 3 Moderate Priority generated as graphic representations of the data and Reports will be filterable by zone year month and day U The web application will have a status indicator on r 3 6 es the home dashboard to display whether a zone is 1 Critical Priority E actively being watered or not See The web application will have a status indicator on 3 7 SEH the home dashboard to display whether a zone is 4 Low Priority actively being watered or not An external rain sensor will monitor the weather Rai conditions and will send an alert to the central ain 3 8 control unit in the event of rain The user 2 High Priority Sensor Neem f preferences will dictate whether this event will turn the sprinklers off or not wee There will be a server hosting our web application 3 9 Hosting A f PP 1 Critical Priority with an ass
52. ital Converter converter gives out a numeric value response to the analog signal USSC2 Sensor Data Digital sensor data Meaningful data We will test that the High Package from Analog about environment output data is correct Converter condition to the environment condition USSC3 Serial Data Communication A serial connection We will test that at High Sender rate of a serial is ready for this point the data connection transmitting data will be transmitted to Raspberry Pi Table 3 5 Temperature Sensor Subsystem Unit Test 3 30 2015 SmartGrass 35 System Test Plan 3 2 5 Valve Control Subsystem HICS Home Irrigation Control System Test ID Module Input Output Test Priority UHVCI Serial Data Communication A serial connection We will test that at High Receiver rate of a serial is ready for this point the data connection receiving data can be received through a serial connection UHSC2 Command Control command Control signals to We will test that this High Executor being sent through the digital pins module will set the serial connection digital pins on the Arduino UHVC3 Relay Command signals High voltage We will test that we High Module from Arduino control signal to can turn on or off the turn the valve on or relay switches by off applying the correct signal Table 3 6 Valve Control Subsystem Unit Test 3 30 2015 SmartGrass 36 System Test Plan 3 2 6 Data Proc
53. ll database query Unable to store all database functions query functions Response correctly Unable to response correctly when database functions when functions are called are called USSI2 DB Interface Set up an interface Unable to set up an interface between database and between database and web web services or services or controllers controllers Table 8 2 Unit Tests Criteria 3 30 2015 SmartGrass 64 System Test Plan 8 3 Component Tests HICS Home Irrigation Control System Test ID Hardware Pass Criteria Fail Criteria CSS1 Soil Moisture Sensor Subsystem e Measure the moisture level of the soil correctly Does not measure the soil moisture sensor correctly CSRI Rain Sensor Subsystem e Report the rain condition of the environment correctly Does not measure temperature of the environment correctly CSTI Temperature Sensor Subsystem e Measure the temperature of the environment correctly Does not report the rain condition of the environment correctly CHS1 Sensor Controller Subsystem e Read the analog data form sensor modules e Convert data to digital values e 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 CHV1 Valve Controller Subsystem e Receive control commands form the Raspberry Pi e Execute commands to turn on off the v
54. nse into an Does not parse response into JSON format object an JSON format object UISC2 API Caller Build an URI request Unable to build an URI request Send an URI request to Unable to send an URI request the Web service to the Web service USWAI View Show UI objects for Unable to show user to interact USWA2 Controller Handle the data transfer Unable to handle the data from database and UI transfer from database and UI USWA3 Module Set up a view model as Unable to set up a view model reguirement as reguirement USWSI Response Parser Create a JSON object Unable to create JSON object containing control containing control commands commands Unable to send the response Send a response back to back to the Raspberry Pi the Raspberry Pi 3 30 2015 SmartGrass 63 System Test Plan HICS Home Irrigation Control System USWS2 Web Services Receive JSON object of Unable to receive JSON object sensor data of sensor data Update sensor data on Unable to update sensor data database on database Retrieve new control Unable to retrieve new control commands from Commande from database and database and relaying to relaying to the Response the Response Parser Parser USWS3 URI Authenticator Verify a URI reguest Unable to verify a URI request USWS4 JSON Converter Receive URI request Unable to receive URI request Convert sensor data in Unable to convert sensor data URI request in URI USSIL Stored Procedures Store a
55. ociated URL for domain user access Server There will be a DBMS that will store all data from soil sensor readings as well as all the information Database ae a fase for the web application This information includes oc Lo 3 10 Management f 1 Critical Priority user account information settings reports and System ma weather data necessary for the application to perform as expected 3 30 2015 SmartGrass System Test Plan HICS Home Irrigation Control System A user must register their HICS device with their account in order to interface with it via the web Devi 3 11 ee application The central control unit will have a 2 High Priority Registration f unique serial number on it that will be used to register the device to a user account A user may group their sprinkler zones into regions through the web application This functionality will Region fos 3 12 Gionin allow the user to setup watering schedules for 3 Moderate Priority ping multiple zones at once without having to configure each individual zone EN The user can set an auto off timer via the web 3 13 off application that terminates watering if the duration 3 Moderate Priority lasts longer than the set time Table 2 1 Customer Requirements Table 2 1 2 Packing requirements Req Requirement Description Priority Control The components of the control unit including its 4 1 Unit accessories
56. oil Mapping the Soil q e p E moisture sensors to the irrigation valves The central Moisture Sensors aes zs dozi 8 1 io Tesan control unit will feature a diagram showing the one to 1 Critical Priority o Irrigation f f e V one relationship between soil moisture sensor inputs alves A and irrigation valve inputs The web application should be scalable and responsive 8 2 Browser Support in all of the latest versions of Mozilla Firefox Google 3 Moderate Priority Chrome and Internet Explorer The central control unit must be mounted in a location Central Control where it can interface with wires from the water valves f bea 8 3 f aes 2 High Priority Unit Mounting and soil moisture sensors It must also be within range of Ethernet and power outlets The rain sensor must be placed outdoors in a location s where there are no obstructions directly above it The Rain Sensor GER 8 4 Mounti best placement for this sensor is on the roof of the 3 Moderate Priority ountin d S user s home in a location where other water sources will not interfere with it All user data and account information will be stored on or a secure server Users will only be allowed to access Application f f ta their HICS devices and account information if they NA 8 5 Security and k f S sa 3 Moderate Priority Privac provide the correct login credentials In addition all 7 user passwords will be encrypted and stored only as hash
57. on USSCI Analog Digital e Return a digital value Does return a digital value Converter response to the analog response to the analog signal signal USSC2 Sensor Data e Return correct reading Does not return correct reading Package about the environment about the environment condition condition USSC3 Serial Data Sender e Initiate a serial Does not send data to the connection to send data Raspberry Pi to the Raspberry Pi UHVCI Serial Data Receiver e Initiate serial connection Does not receive data from the to receive data from the Raspberry Pi Raspberry Pi 3 30 2015 62 SmartGrass System Test Plan HICS Home Irrigation Control System UHSC2 Command Executor Set the level at digital Does not set the level at digital pins on the Arduino pins on the Arduino UHVC3 Relay Module Open close circuit for Does not open close circuit for all 8 channels any channel UIVDPI USB Serial Interface Initiate a serial Unable to send receive data connection to transmit from the Raspberry to the data to the Arduino Arduino UIDP2 Valve Command Assign correct values to Does not assign assign wrong Processor local variables based on value based on a input array a input array UIDP3 JSON Message Build data as a JSON Does not build build a wrong Builder object JSON object UISCI Response Parser Receive responses from Unable to receive response the Web service from the Web service Parse respo
58. personalized features 5 1 7 Active Status 3 30 2015 SmartGrass 49 System Test Plan HICS Home Irrigation Control System Description The web application will have a status indicator on the home dashboard to display whether a zone is actively being watered or not Test Approach The active status bar will be tested by comparing the instant status of the HICS system with the active status bar When not in use the active status bar should be inactive and while operating the status bar must be active 5 1 8 Rain Sensor Description An external rain sensor will monitor the weather conditions and will send an alert to the central control unit in the event of rain The user preferences will dictate whether this event will turn the sprinklers off or not Test Approach We will put some water on the rain sensor which must stop watering at that moment We will also match if the rain sensor has rain the soil moisture sensor on the ground must start increasing soil moisture 5 1 9 Web Hosting Service Description There will be a web service that hosts our web application with an associated URL for domain user access Test Approach We will test our application on the web After we have hosted our web application we must be able to run our application from the internet 5 1 10 Database Management System Description There will be a DBMS provided by our web hosting service provider that will store all data from soil sensor
59. r The Soil Moisture Signal Collector reads the amounts of moisture present in the soil and sends the signal to the soil moisture sensor Control Board module 2 3 2 1 3 2 Control Board The soil moisture sensor Control Board is responsible for interpreting the analog signals being produced its corresponding soil moisture sensor and reports the information to the ADC module 2 3 2 2 Hardware I O Layer 2 3 2 2 1 Sensor Controller Subsystem 2 3 2 2 1 1 Analog Digital Converter This module collects all the readings from the sensors and converts their signals from analog to digital so that the information can be further processed and packed 3 30 2015 SmartGrass 22 System Test Plan HICS Home Irrigation Control System 2 3 2 2 1 2 Serial Data Packager This Serial Data Packager module is responsible for converting and packaging the raw sensor readings into readable data 2 3 2 2 1 3 Serial Data Sender This module sends the collected sensor data over a USB cable to the Raspberry pi This connection is the primary link between the Arduino and Raspberry Pi 2 3 2 2 1 Valve Controller Subsystem 2 3 2 2 1 1 Serial Data Receiver This module receives the serial data sent by USB Serial Interface and converts it into usable command data 2 3 2 2 1 2 Command Executer This module executes the command that was received from the Serial Data Receiver module to the relay module 2 3 2 2 1 3 Relay Module
60. r wiring could leave the user exposed to 6 3 of Central currents in the range of 15 20 amps It is crucial 1 Critical Priority Control Unit that the control unit is wired properly to accept this input and cause no harm to the device or user Table 2 4 Safety Requirements Table 2 1 5 Maintenance and Support Requirements Req Requirement Description Priority 71 DOLA The soil and rain SE will be replaceable in the High Priority Maintenance event of hardware failure All source code files and relevant documentation must be available for software maintenance and Satis troubleshooting The required files and 71 2 documentation will be available via the GitHub 3 Moderate Priority Maintenance f S repository The software will be split into loosely coupled parts so it would be easier to make changes and improvements to the system over time Source All source code files required for HICS will be 7 3 Code extensively commented to support future updates and 3 Moderate Priority Documentation troubleshooting m Th tral control unit will rt addi i koj 74 Scalability e ee ES Ge Kee Ze 2 High Priority additional valves or soil sensors Table 2 5 Maintenance and Support Requirements Table 3 30 2015 SmartGrass 13 System Test Plan HICS Home Irrigation Control System 2 1 6 Other Requirements Req Requirement Description Priority HICS requires that the user properly maps the s
61. sor is sent to the sensor controller for parsing SS1 Soil moisture readings are sent from the soil sensors to the sensor controller for parsing Table 2 7 Data Flow Definitions Table 2 2 3 Sensor Layer The Sensor Layer has three sub systems Rain Sensor Temperature Sensor and Soil Sensor s The Sensor Layer is responsible sending all the different environment condition readings to the Hardware I O Layer Each Sensor Layer subsystem communicates independently of the other subsystems RS1 Sensor Controller lt Rain Sensor Sensor Controller lt _ _ Temperature Sensor SS1 5S24 Sensor Controller cn Soil Sensor s Figure 2 2 Sensor Layer Diagram 2 2 4 Hardware I O Layer Hardware I O Layer consists of two sub systems Sensor Controller and the Valve Controller This layer is responsible for exchanging data between the Interface Layer and the Sensor Layer The Sensor Controller takes software input from the sensors and sends it to the Data Processing sub system on the Interface Layer The Valve Controller takes the input command from the Data Processing to control switch on off the irrigation valves 3 30 2015 SmartGrass 17 System Test Plan HICS Home Irrigation Control System Data Processing lt Sensor Controller Valve IV1 IV24 ee Irrigation Valves Figure 2 3 HW I O Layer Diagram 2 2 5 Interface L
62. t Plan HICS Home Irrigation Control System 5 2 2 Soil Moisture Sensors Packaging Description 4 Soil sensors will be included in the final packaging of HICS They will be located within their own boxes and will have corresponding documentation that describes their proper installation The user will be able to purchase additional soil moisture sensors and add them to their system Test Approach Soil moisture sensors will be tested with the package that we provide The sensors must be easy to place on the ground We will make sure that the proper documentation gives good knowledge about installing sensors 5 2 3 Rain Sensor Packaging Description 1 Rain sensor will be included in the final packaging of HICS It will be located within its own box and will have corresponding documentation that describes its proper instillation Test Approach Rain sensor comes with its own box We will test that the box properly fits the sensor and secures it 5 2 4 Connecting Cables Description 1 Power cable and 1 Ethernet cable will be included in the final packaging of HICS Their intended purpose is to be used with the central control unit Test Approach The cables in the pack will be tested before putting inside the final box We will check the quantity as well as the quality of cables 5 2 5 Temperature Sensor Packaging Description 1 Temperature sensor will be included in the final packaging of HICS It will be located with
63. t run 5 1 13 Auto Off Description The user can set an auto off timer via the web application that terminates watering if the duration lasts longer than the set time Test Approach For testing we will put few seconds e g 10 seconds as maximum time to water soil We won t dip the soil moisture sensor on water and let the watering continue the watering must stop at 10 seconds 5 1 14 Temperature Sensor Description A temperature sensor will monitor the temperature conditions at the central control unit s location If the sensor detects temperatures around freezing 34 F the HICS will shut off the watering valves and notify the user to prevent freeze hazards Test Approach We will test the temperature for freezing conditions We will put ice on the temperature sensor in which the watering should stop automatically 5 2 Packaging Requirements This section describes all the packaging requirements listed on our System Requirement Specification document and gives a brief description of how each feature will be tested to meet the acceptance criteria of the requirement 5 2 1 Control Unit Housing Description The components of the control unit including its accessories will be contained inside a mountable hard plastic container Test Approach All the components will be tested if it fits inside the housing or not It must be tight enough such that it won t move anywhere else 3 30 2015 SmartGrass 51 System Tes
64. tem 2 3 2 4 3 Database Interface Subsystem 2 3 2 4 3 1 DB Interface The DB Interface module is the interface that is responsible for retrieving and storing data in that database The module contains all the domain services that handle the logic for the CRUD functionality of each database table 3 30 2015 SmartGrass 24 System Test Plan HICS Home Irrigation Control System 2 3 2 4 3 2 Stored Procedures This module acts like a middleman for communication with the database and is responsible for authenticating pre reguesting gueries The definitions inside the module are made to ensure the security of the data being communicated to and from the database 2 3 3 Producer Consumer Matrix Producer Soil Moisture Reading Collector NE alve Command Processor OE Response Parser E ME JSON Converter Ei D I URI Authenti cator Web Services C H Response Handler as DB Interface C A Stored Procedures BIS Database He Controller Be Model ac EH U sert Admin Sensor Data Packager lge Serial Data Sender BE Relay Module Wegeston Valve s Command Ex ecutor Eed Data Receiver JUSB Serial Interface NE JSON Message Builder apr Caler E w Rain Sensor Control Board EE Analog Digital Converter Ki K Rain Status Collector EI Temperature Sensor Control Board 2 IE Soil Moisture Sensor Control Board E E Temperature Reading Collector Oog Soil Moisture Reading Collector S
65. the voltage difference Table 3 2 Soil Moisture Sensor Subsystem Unit Test 3 2 2 Temperature Sensor Subsystem Test ID Module Input Output Test Priority USTS1 Temperature Rain condition Voltage difference We will test that the Medium Reading from environment to control board collector give a Collector processed voltage difference USTS2 Control Voltage difference Voltage level We will test that Medium Board from collector responding to the control board can temperature power on and giving out the voltage difference Table 3 3 Temperature Sensor Subsystem Unit Test 3 30 2015 SmartGrass 34 System Test Plan 3 2 3 Rain Sensor Subsystem HICS Home Irrigation Control System Test ID Module Input Output Test Priority USRSI Rain Rain conditions Voltage difference We will test that the Moderate Reading from the to control board collector gives a Collector environment processor voltage difference USRS2 Control Voltage difference Voltage level We will test that the Moderate Board from the collector responding to the control board can water volume on power on and give the surface out the voltage difference Table 3 4 Rain Sensor Subsystem Unit Test 3 2 4 Sensor Control Subsystem Test ID Module Input Output Test Priority USSCI Analog Voltage from Digital values based We will test that the High Digital sensors on the analog signal analog dig
66. the web services and Arduino H2 Arduino Commands from Sensor data to We will test that Critical Raspberry Pi Raspberry Pi we can send the environment control signal to sensor data to readings from turn on and turn Raspberry Pi We sensors valve off the irrigation will also test that control statuses valves the Arduino can control all the valve switches H3 Soil moisture Soil moisture Soil moisture We will test that High sensor levels from the reading to the data received environment Arduino from the soil moisture sensors reflects the changes in the environment H4 Temperature Temperature Temperature We will test that High sensor reading from reading to the temperature environment Arduino reading received from the sensor is correct to the reading in the thermostat 3 30 2015 SmartGrass 33 System Test Plan 3 2 Unit Tests HICS Home Irrigation Control System Table 3 1 Hardware Test Table 3 2 1 Soil Moisture Sensor Subsystem Test ID Module Input Output Test Priority USSSI Soil Soil moisture Voltage difference We will test that the Moderate Moisture sensor level from to control board collector gives a Reading environment processed voltage difference Collector USSS2 Control Voltage difference Voltage level We will test that Moderate Board from collector responding to the control board can moisture reading power on and is giving out
67. unction under our specified criteria In case of damage to device we will test the device to make sure it will go to fail safe mode 5 3 3 Response Time To Watering 3 30 2015 Description Watering grass when dry is important But delay of watering for few seconds does no harm to the grass or anyone After getting command to start watering HICS may take few seconds to actually have the sprinkles dispensing water So the response time is nothing to worry about Test Approach We will initiate a web request for watering instantly We will note the time difference between the service call done from the web and the actual watering We will also schedule a watering and note the time for the watering to happen by itself We will test this multiple times and under different environments like varying temperature changing moisture and different internet speed to make sure our readings are consistent It should not take more than 10 seconds for our system to respond SmartGrass 53 System Test Plan HICS Home Irrigation Control System 5 4 Safety Requirements This section describes all the safety requirements listed on our System Requirement Specification document and gives a brief description of how each feature will be tested to meet the acceptance criteria of the requirement 5 4 1 Soil Moisture Sensor Insulation Description The electronic components of the soil moisture sensors must be properly insulated against external environment
Download Pdf Manuals
Related Search
Related Contents
Samsung LTN226W User's Manual IP-XX User Manual - Inteligentne Produkty FDR-AX30/AX33/AXP33/AXP35 Curtis iP215UK-BLACK User's Manual Git User`s Manual (for version 1.5.3 or newer) Samsung SGH-I320 User Manual partie 2 - Ecole Lien Land Pride 357-044M Lawn Mower User Manual Copyright © All rights reserved.
Failed to retrieve file