This repository was archived by the owner on Dec 28, 2023. It is now read-only.
File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1
1
Android Dev Summit 2022 Speed Challenge
2
2
==================
3
3
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
+
4
44
# License
5
45
6
46
Now in Android is distributed under the terms of the Apache License (Version 2.0). See the
You can’t perform that action at this time.
0 commit comments