Slide 27
Slide 27 text
Copyright © 2020 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止
良かった点:ユニットテスト書きやすい
ComposeのテストはUiStateを渡し、その通りに表示出来ているか確認すればOK
役割分担が明確なのでViewModel等の
ユニットテストも書きやすい
onNodeWithText(), onNodeWithTag()
で要素を取り出して
.assertIsDisplayed(), .assertDoesNotExist()
で確認