2
2
3
3
## Test preparations
4
4
5
- Three hex files needed:
6
- - "Meet the micro: bit ": This is the program that runs on the micro: bit when
5
+ Four hex files needed:
6
+ - "Meet the micro: bit ": This is the programme that runs on the micro: bit when
7
7
it is first powered on from factory.
8
8
- Downloadable from the micro: bit website:
9
9
https://microbit.org/get-started/user-guide/meet-the-microbit-program/
10
- - "Out of Box": The previous factory program before the
10
+ - "Out of Box": The previous factory programme before the
11
11
"Meet the micro: bit " was released.
12
12
- Downloadable from the micro: bit website:
13
13
https://microbit.org/get-started/user-guide/meet-the-microbit-program/
@@ -22,18 +22,29 @@ Three hex files needed:
22
22
23
23
Two mobile/tablet devices needed:
24
24
- Android device with the micro: bit app installed.
25
- - To load a different MakeCode URL long touch the micro: bit logo in the
26
- app main screen and a modal will appear with the option change
25
+ - To load a different MakeCode URL, long touch the micro: bit logo in the
26
+ app main screen and a modal will appear with the option to change
27
27
- iOS device with the micro: bit app installed.
28
- - To load a different MakeCode URL long press the MakeCode back chevron
28
+ - To load a different MakeCode URL, long press the MakeCode back chevron
29
29
to choose beta.
30
30
31
- ## Test 1: Full flashing with Bluetooth from "Out of Box" and "Meet the micro: bit "
31
+ Two micro: bits needed:
32
+ - micro: bit V1
33
+ - micro: bit V2
34
+
35
+ The micro: bits can be powered via USB for these tests, as that avoids any
36
+ possible issues or errors due to low batteries.
37
+
38
+ ## Test 1: Full & partial flashing with Bluetooth
32
39
33
40
This test should be carried out with:
34
41
- Android app
35
42
- iOS app
36
43
44
+ And the following micro: bit versions:
45
+ - micro: bit V1
46
+ - micro: bit V2
47
+
37
48
A test run for each of these hex files is required:
38
49
- "Out of Box" hex file
39
50
- "Meet the micro: bit " hex file
@@ -43,36 +54,23 @@ A test run for each of these hex files is required:
43
54
Steps:
44
55
1 . Connect the micro: bit to the computer via USB.
45
56
2 . Copy the hex file under test to the ` MICROBIT ` USB drive.
46
- 3 . Disconnect the micro: bit from the computer and connect a battery pack.
47
- 4 . Open the app and load the MakeCode editor under tests.
48
- - Instructions will be added soon.
49
- 5 . Create a new MakeCode project with a simple program (e.g. display
57
+ 3 . Open the app and load the MakeCode editor under test.
58
+ - From the front page, select "Create Code"
59
+ 4 . Create a new MakeCode project with a simple programme (e.g. display
50
60
something on the LED matrix).
51
- 6 . Click the "Download" button.
52
- 7 . Follow the connection instructions to connect the micro: bit via Bluetooth
53
- and download the program.
54
- 8 . Verify that the program runs on the micro: bit .
55
-
56
- ## Test 2: Partial flashing
57
-
58
- Test 1 has to be performed inmediately before this test to ensure the micro: bit
59
- is in a known state.
60
-
61
- This test should be carried out with:
62
- - Android app
63
- - iOS app
64
-
65
- Steps:
66
- 1 . Follow steps from Test 1.
67
- 2 . Change the blocks in the MakeCode editor to do something different
61
+ - If a programme has already been created from a previous test run,
62
+ it can be reused.
63
+ 5 . Tap the "Download" button and follow the instructions to connect the
64
+ micro: bit via Bluetooth and flash the programme.
65
+ 6 . Verify the programme is running on the micro: bit .
66
+ 7 . Change the blocks in the MakeCode editor to do something different
68
67
(e.g. display a different icon/message on the LED matrix).
69
- 3 . Click the "Download" button.
70
- 4 . Follow the connection instructions to connect the micro: bit via Bluetooth
71
- and download the program.
72
- 5 . Verify the BLE flashing process was shorter than on Test 1.
73
- 6 . Verify that the program runs on the micro: bit .
68
+ 8 . Tap the "Download" button and follow the instructions to flash the programme.
69
+ 9 . Confirm the BLE flashing process was shorter than the initial download from
70
+ step 5.
71
+ 10 . Verify that the new programme is running on the micro: bit .
74
72
75
- ## Test 3 : Utility Service
73
+ ## Test 2 : Utility Service
76
74
77
75
This test checks that the Utility Service is available and working on
78
76
the builds of the MakeCode editor under test.
@@ -81,6 +79,9 @@ This test should be carried out with:
81
79
- Android app
82
80
- iOS app
83
81
82
+ And the following micro: bit versions:
83
+ - micro: bit V2 only
84
+
84
85
Steps:
85
86
1 . Flash the micro: bit with this MakeCode programme, using any method:
86
87
``` javascript
@@ -89,10 +90,11 @@ Steps:
89
90
datalogger .createCV (" y" , input .acceleration (Dimension .Y )),
90
91
datalogger .createCV (" x" , input .acceleration (Dimension .X ))
91
92
)
93
+ basic .pause (100 )
92
94
})
93
95
```
94
96
2. Open the micro: bit app, go to " My Programs" .
95
97
3. Tap on the " Fetch MY_DATA (V2 only)" button and follow the instructions
96
98
to connect the micro: bit via Bluetooth.
97
- 4. Verify that the data a table of Time, X and Y acceleration values
99
+ 4. Verify that the data as a table of Time, X and Y acceleration values
98
100
is shown in the app.
0 commit comments