blob: 6dd70d38c21c276a0f224659fb4d4b0f5eee3476 [file] [log] [blame]
Carmelo Casconed9f49162021-10-07 18:17:20 -07001.. _testing_guide:
2
Charles Chancaebcf32021-09-20 22:17:52 -07003Testing Guide
4=============
5
Charles Chande4eb7b2021-10-07 18:03:00 -07006We implemented multiple types of tests in SD-Fabric.
7
8- **Unit Test**
9
10 - Verify codes at the level of methods or classes, and therefore covers a lot of details in a small scope.
11 - Run before merge as part of the CI/CD process of each component.
12
13- **Component Test**
14
15 - Verify a component with its dependencies as a whole.
16 - Run as sanity checks before merge as part of the CI/CD process of each component.
17
18- **System Integration Test**
19
20 - Verify the entire SD-Fabric solution,
21 involving multiple components and including various failure scenarios.
22 - Run nightly
23
24.. image:: images/test-overview.png
25 :width: 800px
Charles Chancaebcf32021-09-20 22:17:52 -070026
27.. toctree::
Charles Chan168670a2021-10-11 19:33:06 -070028 :maxdepth: 2
29 :hidden:
30 :glob:
Charles Chancaebcf32021-09-20 22:17:52 -070031
Charles Chan168670a2021-10-11 19:33:06 -070032 testing/component
33 testing/pipeline
34 testing/system