1
0
mirror of https://github.com/mik3y/usb-serial-for-android synced 2025-06-08 16:36:10 +00:00

Updated Device Tests & Coverage Report (markdown)

kai-morich 2019-10-26 08:34:47 +02:00
parent 756ee45eb6
commit 9a4a122e6a

@ -1,7 +1,7 @@
Only a subset of this library can be tested reasonably with unit tests. Mocking the serial converter chips would hardly represent their real behavior, so I decided to use tests on real devices where the device is connected to: Only a subset of this library can be tested reasonably with unit tests. Mocking the serial converter chips would hardly represent their real behavior, so I decided to use tests on real devices where the device is connected to:
* Android executing [Android instrumented test](https://developer.android.com/training/testing/unit-testing/instrumented-unit-tests)s * Android executing [Android instrumented test](https://developer.android.com/training/testing/unit-testing/instrumented-unit-tests)s
* Windows/Linux host running a [RFC-2217](https://tools.ietf.org/html/rfc2217) server * Windows/Linux host with a real serial port running a [RFC-2217](https://tools.ietf.org/html/rfc2217) server
The instrumented test uses the RFC-2217 server to control the other end of the serial line over Wi-Fi. The instrumented test uses the RFC-2217 server to control the other end of the serial line over Wi-Fi.