Chapter 7: Testing Your Apps
In the previous chapters, we covered developing multiple different types of apps using Uno Platform. Uno Platform not only allows apps to be written, however; it also allows automated UI tests to be written that will run on Android, iOS, and WebAssembly using the Uno.UITest framework. During this chapter, we will write our first test using Uno.UITest and run it on different platforms, including using emulators. After this, you will also learn how to write tests for Windows using WinAppDriver.
In this chapter, we'll cover the following topics:
- Setting up the
Uno.UITest
project for your app - Authoring
Uno.UITest
tests for your Uno Platform app - Running your tests against the WASM, Android, and iOS versions of your app
- Writing unit tests for your Uno Platform app
- Using WinAppDriver to author automated tests for the UWP head of your app
- Why manual testing is still important
By the end of this chapter, you'll have...