Charles Chan | caebcf3 | 2021-09-20 22:17:52 -0700 | [diff] [blame] | 1 | Testing Guide |
| 2 | ============= |
| 3 | |
Charles Chan | de4eb7b | 2021-10-07 18:03:00 -0700 | [diff] [blame] | 4 | We implemented multiple types of tests in SD-Fabric. |
| 5 | |
| 6 | - **Unit Test** |
| 7 | |
| 8 | - Verify codes at the level of methods or classes, and therefore covers a lot of details in a small scope. |
| 9 | - Run before merge as part of the CI/CD process of each component. |
| 10 | |
| 11 | - **Component Test** |
| 12 | |
| 13 | - Verify a component with its dependencies as a whole. |
| 14 | - Run as sanity checks before merge as part of the CI/CD process of each component. |
| 15 | |
| 16 | - **System Integration Test** |
| 17 | |
| 18 | - Verify the entire SD-Fabric solution, |
| 19 | involving multiple components and including various failure scenarios. |
| 20 | - Run nightly |
| 21 | |
| 22 | .. image:: images/test-overview.png |
| 23 | :width: 800px |
Charles Chan | caebcf3 | 2021-09-20 22:17:52 -0700 | [diff] [blame] | 24 | |
| 25 | .. toctree:: |
Charles Chan | 168670a | 2021-10-11 19:33:06 -0700 | [diff] [blame] | 26 | :maxdepth: 2 |
| 27 | :hidden: |
| 28 | :glob: |
Charles Chan | caebcf3 | 2021-09-20 22:17:52 -0700 | [diff] [blame] | 29 | |
Charles Chan | 168670a | 2021-10-11 19:33:06 -0700 | [diff] [blame] | 30 | testing/component |
| 31 | testing/pipeline |
| 32 | testing/system |