Test suite configuration is a Yaml file where you can list all test functions (each test function is a test case) for a batch run. Test suite files are stored in the "~/testsuites" folder
oper@ftasvm:~$ cd testsuites/
oper@ftasvm:~/testsuites$ ls -lrth
total 36K
-rw-rw-r-- 1 oper oper 405 Jan 27 10:19 verify_yaml.py
-rw-rw-r-- 1 oper oper 2.3K Jan 27 10:19 ftas_4dut_suite.yaml
-rw-rw-r-- 1 oper oper 8.9K Jan 31 07:18 ftas_full_suite.yaml
-rw-rw-r-- 1 oper oper 815 Jan 31 07:18 ftas_3dut_suite.yaml
-rw-rw-r-- 1 oper oper 2.1K Jan 31 07:18 ftas_1dut_suite.yaml
-rw-rw-r-- 1 oper oper 5.4K Feb 18 12:54 ftas_2dut_suite.yaml
oper@ftasvm:~/testsuites$
TEST***_FOLDER - Path to the test artefacts including testbeds, testsuites and reports
TEST_CONTACT- Email address of the test owner. This information is included in the test report
TESTSUITES- Define the sub-test suites in a key-value pair for execution
"./essential/taas_platform_Interface_test.py"- Location of the test script files.
SKIP- Defines whether a particular test script will be included or excluded from the execution. If set to "SKIP": true, then the tests will be excluded from execution.
COMMON_TESTBED- The testbed file all test cases use.
TESTCASES- A list of test functions (test cases) with the structure of "TESTCASES": [{"test_syslog_004": ""},{"test_syslog_002": ""}].
Custome suites
FTAS comes with following predefined suites which can be run directly on applicable platform and release combinations. These suitefiles are present in ~/testsuites directory
Suitefile
Description
Number of testcases
PI.suite
All platform independent testcases
90
PD.suite
All platform dependent testcases
86
data_1dut.suite
All one DUT testcases applicable on data switches
19
data_2dut.suite
All two DUT testcases applicable on data switches
90
data_3dut.suite
All three DUT testcases applicable on data switches
8
data_4dut.suite
All four DUT testcases applicable on data switches
58
data_complete.suite
All testcases applicable on data switches
176
mgmt_1dut.suite
All one DUT testcases applicable on management switches
18
mgmt_2dut.suite
All two DUT testcases applicable on management switches
77
mgmt_3dut.suite
All three DUT testcases applicable on management switches
8
mgmt_complete.suite
All testcases applicable on management switches
104
edgecore_4630_202111.suite
All testcases applicable on Edgecore 4630 platform for 202111 release
114
edgecore_9716_202111.suite
All testcases applicable on Edgecore 9716 platform for 202111 release
171
nvidia_202205.suite
All testcases applicable on NVIDIA platforms for 202205 release
180
wistron_3200_ecs2.0.0.suite
All testcases applicable on Wistron 3200 platforms for ECS 2.0.0 release
116
wistron_6512_ecs2.0.0.suite
All testcases applicable on Wistron 6512 platforms for ECS 2.0.0 release