blob: 70ba36d0bde155021d5ffa083b2272231d77b96a [file] [log] [blame]
Charles Chancaebcf32021-09-20 22:17:52 -07001Testing Guide
2=============
3
Charles Chande4eb7b2021-10-07 18:03:00 -07004Test Infrastructure Overview
5----------------------------
6
7We 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 Chancaebcf32021-09-20 22:17:52 -070027
28.. toctree::
29 :maxdepth: 2
Charles Chancaebcf32021-09-20 22:17:52 -070030 :glob:
31
Charles Chancaebcf32021-09-20 22:17:52 -070032 testing/component
33 testing/pipeline
Charles Chande4eb7b2021-10-07 18:03:00 -070034 testing/system