Functional Testing

In this guide we will focus on developing functional test cases for your IoT platform

In functional testing, we focus on validating IoT platform correctness against the data sent by our simulated devices. The simulator is capable of validating server responses, and also fetching data via REST APIs in order to query system correctness. Let's have a few examples:-

  • In Basic Functional Test, we will learn how to send a simple data to a server and validate the server response with using assert() function.

  • In Geofencing example, we will see how server disables ignition of a driving vehicle, if the vehicle move beyond 1000 meter radius of its starting position.

Last updated