58.5k views
3 votes
If the value specified in the ___ field is lower than the coverage coverage specified in the ___ to which the ___ belongs, the code coverage of the ___ will be applied.

A) Pipeline / User Story / Test level / Deployment
B) Org Credential / Repository / Code level / Promotion
C) Release / Pipeline / Quality level / Feature Branch
D) Deployment / Branch / Minimum level / Feature

User Paul Lydon
by
8.1k points

1 Answer

5 votes

Final answer:

Option (B), In software development, if the code coverage value in the Org Credential is lower than the Repository's, the Promotion adopts the Repository's coverage level. This ensures higher code quality standards during the promotion process.

Step-by-step explanation:

If the value specified in the Org Credential field is lower than the coverage specified in the Repository to which the Code level belongs, the code coverage of the Promotion will be applied. This statement pertains to the process of code management and deployment within software development, specifically the conditions under which certain code coverage metrics are applied.

In software development, code coverage is a measure used to describe the degree to which the source code of a program is executed when a particular test suite runs. A code coverage requirement can be set at various levels within a development pipeline to ensure the quality of the code. When the Org Credential's code coverage value, which may represent a specific deployment or security setting, is not met, the higher threshold defined at the Repository level takes precedence during a code promotion process.

User Greggyb
by
7.4k points