summaryrefslogtreecommitdiffstats
path: root/spec/req/unit-test-dead-code.yml
blob: 298e423ad103c05e30814d21997c90e7a4d4eeed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2022 embedded brains GmbH & Co. KG
enabled-by: true
links:
- role: requirement-refinement
  uid: root
non-functional-type: design
rationale: |
  In general, dead code should be avoided.  For justified exceptions it is
  acceptable, for example to avoid hard to maintain deviations from the RTEMS
  mainline code.  For these exceptions, unit tests may be used to achieve the
  code and branch coverage goals.
references: []
requirement-type: non-functional
text: |
  Unit tests may be used to test code which is not testable through the
  ${/glossary/api:/term}.
type: requirement