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