Skip to content

Add MultiDeviceTestContext for testing more than one Device

First of all thanks to @ajoubertza and @tiagocoutinho for your suggestions to the interface. Also, if you find that the proposed interface could be improved just let me know and I will change it.

DeviceTestContext runs just one Device hence is only useful for unit testing of one Device. Integration tests involving multiple Devices within the same server are not possible. Add MultiDeviceTestContext for that purpose. This context thanks to a little bit more complicated interface allows to run multiple Devices (each of them even exporting multiple devices) all within one server.

At the same time refactor the DeviceTestContext to use the MultipleDeviceTestContext as its base class. This way, the DeviceTestContext is just a simplified interface to its base class.

Merge request reports