Naming unitary tests#

  • The tables describe the grammar for the unitary test, functional test and collect test.

  • Fields between {} are mandatory while those between [] are optional.

Unitary test#

Unitary tests are functions stored in the package p400qa.unitary_tests. They are used by the functional and the collect test suites.

field

grammar

example

unitary test

{label}_{designator}_{function}

label

label of the component in the map file

ltm4677a or ltm4681b2

designator

designator of the component in the map file

m13 for LTM4677A
m11x2 for the second half of LTM4681B
u1mlbx internal mailbox of the FPGA

function

function to be tested.
A series of words separated by underscore.
Derive from the name of the sensor

out0_temperature

Test in functional / collect test suites#

Unitary tests for functional (collect) test suite are stored in the package p400qa.suite_functional (p400qa.suite_functional) respectively.

field

grammar

functional test

test_{unitary test}_{testid}

collect test

test_{unitary test}_{testid}

unitary test

name of the unitary test (see table above)

testid

{suite id}{group id}{ddd}
unique identifier of the test on five digit.

suite id

definition

2

functional suite

3

collect suite

group id

definition

exemple

1

base

ping, …

2

configure

check, …

3

status

power_good, lost_signal, …

4

temperatures

5

voltages

currents and voltages

6

pll

frequency, …

7

io

optical power, …

8

loopback

Bit Error Rate, …