Skip to content

ble regression tests

James Sheppard edited this page Feb 12, 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.

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 connect to micro:bit
  7. Flash micro:bit
  8. Flash micro:bit again (know iOS issue after first flash)

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 connect to micro:bit - known issue https://github.com/bbc/microbit-extras/issues/2829
  6. 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 connect to micro:bit
  5. 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 connect and flash
  3. Pair with 1 more (different) mobile
  4. CHECK: none of the original 4 can connect or flash
  5. CHECK: new mobile can connect and flash
Clone this wiki locally