Naming unitary tests#
The tables describe the grammar for the
unitary test
,functional test
andcollect 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 |
|
designator |
designator of the component in the map file |
|
function |
function to be tested. |
|
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} |
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, … |