# Glossary

This glossary defines key terms used within SeaLights to enhance your understanding of its functionalities.

<details>

<summary><strong>Product</strong></summary>

A collection of application components, encompassing various architectures like microservices, web applications, or monolithic backends.

</details>

<details>

<summary><strong>Test Stage / Test Cycle</strong></summary>

A group of tests organized to achieve specific testing objectives, often broader in scope than individual tests. Examples include regression, end-to-end, and manual tests. These stages can represent a single test type or combine multiple types executed in the same phase (e.g., nightly testing might involve both component and integration tests).

</details>

<details>

<summary><strong>Overall (Code) Coverage</strong></summary>

Percentage of methods tested by at least one test stage.

<img src="https://1255034336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSagdStwf6CJ9cI6lA68%2Fuploads%2FGFpZX1QLIaT2D6wArcav%2Fimage.png?alt=media&#x26;token=08a20104-2a18-4fee-b9c8-6ca00bf789bb" alt="" data-size="line">

</details>

<details>

<summary><strong>Modified (Code) Coverage / Code Changes Coverage</strong> </summary>

Percentage of **modified methods** tested by at least one test stage.

<img src="https://1255034336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSagdStwf6CJ9cI6lA68%2Fuploads%2F9zlImx42N4cocmpVmnA0%2Fimage.png?alt=media&#x26;token=67d4e0db-607f-41df-b761-a1ee67b0f176" alt="" data-size="line">

</details>

<details>

<summary><strong>Overall Coverage Gap</strong></summary>

Percentage of untested methods (100% - Overall Coverage).

<img src="https://1255034336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSagdStwf6CJ9cI6lA68%2Fuploads%2FDstEl6FiesUftgQ2nCwq%2Fimage.png?alt=media&#x26;token=62a953cb-2c70-42e6-972b-038e86d11594" alt="" data-size="line">

</details>

<details>

<summary><strong>Modified Coverage Gap</strong></summary>

Percentage of **untested** **modified methods** (100% - Modified Coverage).

<img src="https://1255034336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSagdStwf6CJ9cI6lA68%2Fuploads%2FTTKrf7r4ehwFNZYn1olO%2Fimage.png?alt=media&#x26;token=34307a75-e503-4ed2-9eb5-e4ba85f9d106" alt="" data-size="line">

</details>

<details>

<summary><strong>Quality Gate</strong></summary>

Predefined quality criteria that determine if a build meets your standards. Three parameters influence the gate status:

* **New/Modified Code Coverage:** Percentage of newly introduced or modified methods covered by tests.
* **Overall Code Coverage:** Percentage of all methods covered by tests.
* **Failed Tests:** Total number of failed tests in the current build.

</details>

<details>

<summary><strong>Quality Risk</strong></summary>

A modified method not covered by any test stage.

</details>

<details>

<summary><strong>Test Gaps</strong></summary>

* Overall Methods: A method not covered by any test stage.
* Modified Methods: A **modified** method not covered by any test stage (= Quality Risk).

</details>

<details>

<summary><strong>Test Recommendations</strong></summary>

As part of the Test Optimization feature, SeaLights suggests which tests to execute based on historical test runs and their correlation with current code changes.

</details>

<details>

<summary><strong>Referenced Build</strong></summary>

The baseline build used to calculate modified code coverage, quality risks, and quality gates. It impacts:

1. Modified Coverage
2. Quality Risks
3. Quality Gates
4. Test Recommendations

</details>

<details>

<summary><strong>Agent</strong></summary>

An on-premises executable provided by SeaLights, specific to a technology.

</details>

<details>

<summary><strong>Contributors</strong></summary>

Developers who pushed code changes to a Git-based version control system.

</details>

<details>

<summary><strong>Environment</strong></summary>

A set of machines or containers hosting your System Under Test (SUT).

</details>

<details>

<summary><strong>LabID</strong></summary>

Identifiers that allow SeaLights to connect data collected from multiple agents across various application components and test runners, consolidating them within the platform.

</details>

By understanding these terms, you can effectively navigate SeaLights and utilize its features to optimize your testing processes.
