Implementing platform tests
As mentioned earlier, integration tests don't necessarily need to be the assertion of two separate runtimes interacting with each other. They can also be used to test two distinct modules of an application in a controlled environment. For instance, when dealing with mobile applications, certain features are implemented that require interaction with the mobile platform (for example, the local storage API implementation would use the native platform filesystem; even the core SQLite implementation is abstracted to .NET Core).
For integration tests that have to be executed on a specific mobile platform (such as iOS, Android, and UWP), the Devices.xUnit framework can be used. The Devices.xUnit framework is managed by ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access