22
33## Test preparations
44
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
77 it is first powered on from factory.
88 - Downloadable from the micro: bit website:
99 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
1111 "Meet the micro: bit " was released.
1212 - Downloadable from the micro: bit website:
1313 https://microbit.org/get-started/user-guide/meet-the-microbit-program/
@@ -22,18 +22,29 @@ Three hex files needed:
2222
2323Two mobile/tablet devices needed:
2424- 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
2727- 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
2929 to choose beta.
3030
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
3239
3340This test should be carried out with:
3441- Android app
3542- iOS app
3643
44+ And the following micro: bit versions:
45+ - micro: bit V1
46+ - micro: bit V2
47+
3748A test run for each of these hex files is required:
3849- "Out of Box" hex file
3950- "Meet the micro: bit " hex file
@@ -43,36 +54,23 @@ A test run for each of these hex files is required:
4354Steps:
44551 . Connect the micro: bit to the computer via USB.
45562 . 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
5060 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
6867 (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 .
7472
75- ## Test 3 : Utility Service
73+ ## Test 2 : Utility Service
7674
7775This test checks that the Utility Service is available and working on
7876the builds of the MakeCode editor under test.
@@ -81,6 +79,9 @@ This test should be carried out with:
8179- Android app
8280- iOS app
8381
82+ And the following micro: bit versions:
83+ - micro: bit V2 only
84+
8485Steps:
85861 . Flash the micro: bit with this MakeCode programme, using any method:
8687 ``` javascript
@@ -89,10 +90,11 @@ Steps:
8990 datalogger .createCV (" y" , input .acceleration (Dimension .Y )),
9091 datalogger .createCV (" x" , input .acceleration (Dimension .X ))
9192 )
93+ basic .pause (100 )
9294 })
9395 ```
94962. Open the micro: bit app, go to " My Programs" .
95973. Tap on the " Fetch MY_DATA (V2 only)" button and follow the instructions
9698 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
98100 is shown in the app.
0 commit comments