File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,12 @@ The data is hardcoded in the _CraneData_ [file][data] and exposed to the UI usin
4343[ MainViewModel] [ mainViewModel ] . Image resources are retrieved from
4444[ Unsplash] ( https://unsplash.com/ ) .
4545
46+ ## Testing
47+
48+ Crane has Compose-only tests (e.g. [ HomeTest] [ homeTest ] ) but also tests covering Compose and the
49+ view-based system (e.g. [ DetailsActivityTest] [ detailsTest ] ). The latter uses the ` onActivity `
50+ method of the ` ActivityScenarioRule ` to access information from the ` MapView ` .
51+
4652## License
4753
4854```
@@ -68,4 +74,6 @@ limitations under the License.
6874[ details ] : app/src/main/java/androidx/compose/samples/crane/details/DetailsActivity.kt
6975[ data ] : app/src/main/java/androidx/compose/samples/crane/data/CraneData.kt
7076[ mainViewModel ] : app/src/main/java/androidx/compose/samples/crane/home/MainViewModel.kt
77+ [ homeTest ] : app/src/androidTest/java/androidx/compose/samples/crane/home/HomeTest.kt
78+ [ detailsTest ] : app/src/androidTest/java/androidx/compose/samples/crane/details/DetailsActivityTest.kt
7179[ coil-accompanist ] : https://github.com/chrisbanes/accompanist
You can’t perform that action at this time.
0 commit comments