Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Commit 3541cec

Browse files
Adds instructions to README
1 parent 7335005 commit 3541cec

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

Diff for: README.md

+40
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,46 @@
11
Android Dev Summit 2022 Speed Challenge
22
==================
33

4+
# Instructions for contestants
5+
6+
1. Clone repository
7+
8+
2. Start coding!
9+
Check the local tests in `test/`. Do not modify the tests!
10+
11+
3. Run tests locally
12+
Make all tests in `app/test/java` pass.
13+
14+
4. Do not send PRs to the repo!
15+
16+
# Instructions for hosts
17+
18+
1. Create a couple of slides explaining the goal of the challenge and showing a screenshot of the app.
19+
1. Show the first hint on screen and drop a new one every ~5 minutes.
20+
2. Make sure contestants don't modify the tests instead of the code under test!
21+
22+
## Hints
23+
24+
### Test order
25+
`LocationScreenTest`
26+
`LocationViewModelTest`
27+
`UiLayerTest`
28+
`LocationConfigChangeTest`
29+
30+
### LocationScreenTest
31+
Fix hardcoded title in `TopAppBar`
32+
Swap IDs in left/right icons
33+
34+
### LocationViewModelTest
35+
Catch error in `LocationViewModel`'s Flow (don't forget to emit it)
36+
37+
### UiLayerTest
38+
`LocationScreenForecast`: iterate on `forecast.forecastWeek` and create multiple rows in a column.
39+
40+
### LocationConfigChangeTest
41+
expandedDays should be saveable (look for `indexSaver`!)
42+
43+
444
# License
545

646
Now in Android is distributed under the terms of the Apache License (Version 2.0). See the

0 commit comments

Comments
 (0)