Skip to content

ble regression tests

James Sheppard edited this page Feb 24, 2016 · 4 revisions

Purpose

All of these tests should be run before releasing a new version of the microbit-dal. This is to check there have been no regressions in expected behaviour.

Make sure you record all test results in BLE Regression Test Results.

Test Equipment

TEST 1: A Fresh Beginning

  1. forget all micro:bit bonds on mobile
  2. freshly USB-flash the micro:bit with the microbit-dal version under test
  3. Put micro:bit into PAIRING MODE
  4. Pair mobile with micro:bit
  5. Reset micro:bit
  6. CHECK: mobile can flash to micro:bit
  7. CHECK: mobile can flash to micro:bit multiple times

TEST 2: Mobile forgets micro:bit

  1. Start with TEST 1.
  2. Choose "forget" from mobile Bluetooth Settings menu
  3. TBC DO WE NEED A CHECK FOR STILL BEING ABLE TO CONNECT? phone is still on micro:bit whitelist
  4. Pair again
  5. CHECK: mobile can flash to micro:bit multiple times

TEST 3: micro:bit forgets mobile

  1. Start with TEST 1.
  2. Re-flash micro:bit over USB
  3. Pair again
  4. CHECK: mobile can flash to micro:bit multiple times

TEST 4: micro:bit pairs with several mobiles

  1. Pair 4 different mobiles to the micro:bit
  2. CHECK: each mobile can still flash micro:bit
  3. Pair with 1 more (different) mobile
  4. CHECK: none of the original 4 can flash micro:bit
  5. CHECK: new mobile can flash micro:bit