| .. SPDX-FileCopyrightText: 2021 Open Networking Foundation <info@opennetworking.org> |
| .. SPDX-License-Identifier: Apache-2.0 |
| |
| .. _testing_guide: |
| |
| Testing Guide |
| ============= |
| |
| We implemented multiple types of tests in SD-Fabric. |
| |
| - **Unit Test** |
| |
| - Verify codes at the level of methods or classes, and therefore covers a lot of details in a small scope. |
| - Run before merge as part of the CI/CD process of each component. |
| |
| - **Component Test** |
| |
| - Verify a component with its dependencies as a whole. |
| - Run as sanity checks before merge as part of the CI/CD process of each component. |
| |
| - **System Integration Test** |
| |
| - Verify the entire SD-Fabric solution, |
| involving multiple components and including various failure scenarios. |
| - Run nightly |
| |
| .. image:: images/test-overview.png |
| :width: 800px |
| |
| .. toctree:: |
| :maxdepth: 2 |
| :hidden: |
| :glob: |
| |
| testing/component |
| testing/pipeline |
| testing/system |