# A TDD Framework for Automated Monitoring in Internet of Things with Machine Learning +
## 2 Related Work  
The related work [9] offers an overview of the technology requirements for future Cooperative Cyber-Physical Systems (Co-CPSs) in terms of wireless communication and safety.They focused on highlighting the main wireless communication technologies currently available and evaluated their compliance to the safety requirements of Cooperative Cyber-Physical Systems (Co-CPSs) in terms of dependability, security and safety. The researchers in [10] presented a novel hybrid-simulation-based testing technique. This technique allows IoT systems to be tested by orchestrating a real-time interaction between real-life and virtual local IoT entities. First, they analyze the behavior of local entities, such as IoT devices or people interacting with the IoT system. Additionally, they presented two possible techniques to solve the scalability constraints of state-of-the-art simulation techniques: one based on model abstraction and another based on the optimal resource distribution of simulation entities. Challenges that arise when implementing this hybrid simulation based technique are the simulation of the human behavior and the lack of synchronization. Developers in [11] demonstrated how an IoT-based infrastructure could support establishing a co-simulation platform following SGAM requirements. Integrating a digital real-time simulator could enable to test physical devices by hardware in-the-loop set-ups, as well as evaluating the performance of new algorithms via software in-the-loop experiments. The results of the proposed architecture are not as precise as a real advanced measurement infrastructure, but it could provide accurate results. Researchers in [12] compare open source technologies of IoT from the point of view of different levels of technical requirements, such as device management, data management, communication, data processing, security and privacy protection, and also look at requirements of application development and deployment. Then, a cloud-fog cooperated integrated application development platform architecture for IoT applications based on an open source ecosystem was proposed and evaluated in an industrial IoT scenario. The performance results showed that the CoAP protocol performed better than HTTP. The gateway availability test also showed that the IoT gateway based on the open source ecosystem had a stable and reliable performance with a certain data size and concurrency scale, and that this scale could meet the application requirements of the IoT in most sensing environments. Researchers in [13] proposed a layered IoT architecture (called IoTecture) whose components are mapped to stages of an IoT computing in different deployment configurations. A performance analysis study with six configurations revealed that different deployment configurations of layered components into staged locations generate different hardware and software bottlenecks that affect system performance and scalability. Examples of limitations of this article are: evaluating the performance of components located in higher layers; automating the deployment process; and using different technology sets. The researchers in [14] proposed an integrated authentication and capability-based access control for increased usability in IoT environments. The important characteristic of the approach is that the capability metric generated during authentication is used to perform access control. The approach also allows lightweight operations to be performed on IoT devices and computation intensive operations on the cloud server. The security evaluation also shows that it is secure against various attack vectors predominant in IoT. The testbed used a laptop device to imitate the Cloud Server and Raspberry Pi devices to imitate the IoT devices. The experimental results show that the proposed approach incurs a maximum CPU usage of 29.35%, a maximum memory usage of 2.79%, and total computational overhead of 809.26 ms in a real IoT testbed.