File: manual_test_plan.md.moved

package info (click to toggle)
biometryd 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,524 kB
  • sloc: cpp: 10,213; ansic: 191; python: 42; makefile: 33
file content (77 lines) | stat: -rw-r--r-- 2,873 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Manual Test Plan

This section lists manual test cases that should be executed prior to landing. The test cases exercise the main functionality and aim to guarantee a baseline level of functionality that should not regress across releases. 

Please note that individual landings might require specific testing steps in addition to the ones listed here.

We assume that testers use a freshly bootstrapped device.

## CLI

### Testing Against a Running Service Instance

Execute the following command line and follow the on-screen instructions:

```bash
> biometryd test
```
You should receive output similar to:

```bash
> biometryd test
We are about to execute a test run for a biometric device.
Please note that we are executing the test in a production
environment and you should consider the test to be harmful to the
device configuration:
  User:        User[32011]
  Config:      Default device
Would you really like to proceed (y/n)?y

Clearing template store: [=================] 100.00 %
Enrolling new template:  [=================] 100.00 %
Identifying user:        [=================] 100.00 %

  min:      267488.00  [µs]
  mean:     497875.12  [µs]
  std.dev.: 198079.29  [µs]
  max:      1172946.00 [µs]
```

## Fingerprint Reader With Guidance

The following section provides testing instructions for fingerprint
readers featuring guided enrollment processes.

### Enrolling a New Template

  - Boot the phone
  - Unlock the greeter/complete the wizard
  - Start "System Settings"
  - Switch to the "Security & Privacy" page
  - Select "Fingerprint ID"
  - Select "Add Fingerprint"
      + Enroll a new template according to the onscreen instructions.
      + Make sure that feedback given during enrollment is meaningful and reasonable.
      + After completion, check if the list of enrolled fingerprints has grown by 1.
  - Select the recently enrolled fingerprint and rename it:
      + Ensure that the name of the fingerprint is persistent across restarts of "System Settings"

### Identifying With A Fingerprint

  - In "System Settings", choose Fingerprint ID as lock security.
  - Lock the screen.
  - Wake up the phone by pressing the power button.
  - Try to identify with your previously enrolled fingerprint.
  - Lock the screen again.
  - Wake up with the home button.
  - Try to identify with your previously enrolled fingerprint.
  - Lock the screen again.
  - Wake up the screen and try to identify with a finger that hasn't been enrolled previously. The attempts should fail and the device should fall back to your passcode.

### Removing a Previously Enrolled Template

  - Start "System Settings"
  - Switch to "Security & Privacy" page
  - Remove at least one enrolled fingerprint
      + Make sure that the fingerprint is removed from the list
  - Lock the screen and try to identify with the fingerprint. The attemtps should fail.