Further reading
In this chapter, we've briefly covered the basics of UI and unit testing, so the core concepts taught here should give you a solid starting point. However, there are several other topics that you might need while you continue your testing adventure:
- For UI tests, we used semantics modifiers to identify UI elements from our node hierarchy. When testing Compose UI, you should also be aware of the merged and unmerged semantics tree. Learn more about this topic by reading the official docs: https://developer.android.com/jetpack/compose/semantics.
- With UI tests, we only scratched the surface in terms of testing APIs. Make sure to check out this official testing cheat sheet: https://developer.android.com/jetpack/compose/testing-cheatsheet.
- Our unit tests are based on the JUnit testing framework. To discover the power and flexibility of Junit, check out its official docs: https://junit.org/junit4/.
- In your coroutine-based tests, apart from the
advanceUntilIdle...