blob: 76f83fd0154c538219e6796d6ead465ce6f0c709 [file] [log] [blame]
Charles Chancaebcf32021-09-20 22:17:52 -07001Testing Guide
2=============
3
Charles Chande4eb7b2021-10-07 18:03:00 -07004We 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 Chancaebcf32021-09-20 22:17:52 -070024
25.. toctree::
Charles Chan168670a2021-10-11 19:33:06 -070026 :maxdepth: 2
27 :hidden:
28 :glob:
Charles Chancaebcf32021-09-20 22:17:52 -070029
Charles Chan168670a2021-10-11 19:33:06 -070030 testing/component
31 testing/pipeline
32 testing/system