  With the rapid growth of the contemporary Internet of Things (IoT) market,
the established systems raise a number of concerns regarding the reliability
and the potential presence of critical integration defects. In this paper, we
present a PatrIoT framework that aims to provide flexible support to construct
an effective IoT system testbed to implement automated interoperability and
integration testing. The framework allows scaling from a pure physical testbed
to a simulated environment using a number of predefined modules and elements to
simulate an IoT device or part of the tested infrastructure. PatrIoT also
contains a set of reference example testbeds and several sets of example
automated tests for a smart street use case.
