The advent of Internet of Things (IoT) technology is expected to bring forward new promising solutions in various domains and consequently, impact many aspects of everyday life. However, the development and testing of software applications and services for IoT systems includes several challenges and
Towards Pattern-based Testing Framework for IoT Ecosystems
The advent of Internet of Things (IoT) technology is expected to bring forward new promising solutions in various domains and consequently, impact many aspects of everyday life. However, the development and testing of software applications and services for IoT systems includes several challenges and current solutions have not yet properly addressed. Implementing test cases that cover multiple aspects, interfaces, and protocols is a demanding task due to the heterogeneous and distributed nature of IoT systems. Although there are already several tools that can be used in the testing of IoT systems, a number of issues can be pointed out: a technological review of existing solutions reveals the lack of a comprehensive test solution for automated integration testing. Focusing on a specific platform, language, or standard, limiting the possibility of improvement or extension, and not providing out-of-the-box functionality are among the most common shortcomings detected. A pattern-based approach to testing IoT systems that aims to address these faults is proposed. As part of this approach, a feature model will be devised that will enable the representation of the plurality of components and features of an IoT ecosystem. This is a first step in identifying a set of recurring behaviors of IoT applications and a set of corresponding test strategies, which are defined as test patterns specific to the IoT domain. Next, a pattern-based test automation framework for integration testing of IoT ecosystems will be developed that implements in a generic way to test patterns which can be easily instantiated for concrete IoT scenarios. Finally, some courses of investigation are laid out as future work, which can include the definition of additional IoT Test Patterns.
Current technological trends will likely drive to the development of IoT technology. Healthcare is only one of the areas that will benefit from the gigantic range of solutions IoT can provide. Thus, taking into consideration the range and scale of its applications, IoT will become an integral part of everyday life.
However, there are challenges associated with the development and testing of IoT applications and services. These challenges are not yet properly addressed by the existing solutions. Although there are already several tools that can be used in the testing of IoT systems, however there are a number of faults that can be pointed out. With the knowledge that failures in IoT applications can have dreadful consequences, the importance of ensuring their correctness becomes apparent. Nonetheless, implementing test suites and test cases covering multiple aspects, interfaces, and protocols is a demanding and tedious task, and it is from this fact that stems the need for a comprehensive test framework for IoT automated integration testing which will allow to ensure a solution’s conformity to the elicited requirements.
To address this issue, this work aims to:
Identify the short-comes of existing test solutions.
Conceive a pattern-based approach that can be applied to various scenarios to test recurring behaviors in the scope of IoT, enhancing reuse.
Develop a test framework for integration testing of IoT ecosystems that requires minimal technical knowledge and provides out-of-the-box functionality.
The proposed method is a pattern-based IoT testing framework that aims to support the process of unit testing and integration testing of IoT ecosystems. This enables test recurring behaviours in the scope of IoT in an automated manner without the need for dealing with test logic as well as it will implement a set of IoT test patterns out-of-the-box.
Furthermore, it will reduce the effort that is required to be put into the configuration of communication protocols for the various components that make up the SUT, by supporting the most widely used technologies. The framework makes it possible to:
Healthcare, Computer Vision, Smart Farming and Smart Homes are the domains which can take benefit of IoT. For instance, we can monitor, in the proposed system, the temperature, humidity level of a patient room, and at right time actuators can be activated to provide convenience to the patient in form of turning on/off Air Conditioner, lights etc. With the help of Body sensors, health parameters can be accessed by doctors or other caregivers, even when they are not in the vicinity.
The main contributions of this work includes:
A review of the futuristic IoT and the challenges involved in developing and testing IoT solutions, and the existing tools for IoT testing;
A feature model to categorize and group the components of an IoT ecosystem according to their characteristics and a set of test patterns that allow the test of recurring behaviours of IoT systems, which define a set of steps that should be taken into consideration when testing some specific behaviours of IoT systems;
A pattern-based test automation framework, which aims to reduce IoT testing efforts. The framework supports the reuse and implementation of test patterns to automatically exercise recurring behaviours of IoT systems.
| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Raspberry pi 3 Model B+ | Equipment | 3 | 7000 | 21000 |
| Sense HAT | Equipment | 4 | 5000 | 20000 |
| GPIO T cobbler with cable | Equipment | 4 | 1000 | 4000 |
| Raspberry pi 3 Model B+ Case | Equipment | 4 | 1000 | 4000 |
| Air Quality Sensor | Equipment | 4 | 450 | 1800 |
| Glue Gun | Equipment | 2 | 400 | 800 |
| Raspberry pi 3 Model B+ Adapter | Equipment | 4 | 350 | 1400 |
| Motion Sensor | Equipment | 4 | 250 | 1000 |
| Distance sensor | Equipment | 4 | 250 | 1000 |
| Light sensor (LDR) | Equipment | 4 | 250 | 1000 |
| Line detection sensor | Equipment | 4 | 250 | 1000 |
| Esp 32 Development Board | Equipment | 2 | 1200 | 2400 |
| Breadboard | Equipment | 2 | 250 | 500 |
| Jumper wire 40cm(large size) | Equipment | 150 | 5 | 750 |
| Glue Stick | Equipment | 10 | 20 | 200 |
| Leds 100pcs(20pcs each Color) | Equipment | 100 | 5 | 500 |
| A4 Pages | Miscellaneous | 2 | 500 | 1000 |
| Project Thesis | Miscellaneous | 1 | 2000 | 2000 |
| Total in (Rs) | 64350 |
Our project is the Designing and implementation of BLDC motor controller for E.Bicycle. In...
Our project is to provide a way of communication under disaster situations, specifica...
This is web-site which provides facility to woman?s to get their dress material stitched w...
Online clearance system for students and faculty is a web-based application that will dise...
Predicting personality using traditional questionnaires was too time consuming with an hum...