Test Suite Configuration
Test suite configuration is a text 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 156K
-rw-rw-r-- 1 oper oper 405 Jul 4 07:57 verify_yaml.py
-rw-rw-r-- 1 oper oper 539 Jul 4 07:57 verify_testbed.suite
-rw-rw-r-- 1 oper oper 808 Jul 4 07:57 mgmt_3dut.suite
-rw-rw-r-- 1 oper oper 4.7K Jul 4 07:57 mgmt_2dut.suite
-rw-rw-r-- 1 oper oper 1.8K Jul 4 07:57 mgmt_1dut.suite
-rw-rw-r-- 1 oper oper 11K Jul 4 07:57 edgecore_9716_202111.suite
-rw-rw-r-- 1 oper oper 839 Jul 4 07:57 data_3dut.suite
-rw-rw-r-- 1 oper oper 1.8K Jul 4 07:57 data_1dut.suite
-rw-rw-r-- 1 oper oper 6.9K Jul 4 07:57 PD.suite
-rw-r--r-- 1 oper oper 12K Jul 6 16:13 wistron_6512_ecs2.0.0.suite
-rw-r--r-- 1 oper oper 12K Jul 6 16:13 wistron_3200_ecs2.0.0.suite
-rw-r--r-- 1 oper oper 12K Jul 6 16:13 nvidia_202205.suite
-rw-r--r-- 1 oper oper 6.5K Jul 6 16:13 mgmt_complete.suite
-rw-r--r-- 1 oper oper 7.7K Jul 6 16:13 edgecore_4630_202111.suite
-rw-r--r-- 1 oper oper 6.4K Jul 6 16:13 data_2dut.suite
drwxrwxr-x 2 oper oper 4.0K Jul 7 07:27 ebay
-rw-r--r-- 1 oper oper 5.9K Jul 7 07:27 PI.suite
-rw-r--r-- 1 oper oper 12K Jul 14 11:02 data_complete.suite
-rw-r--r-- 1 oper oper 4.5K Jul 16 10:37 data_4dut.suite
-rw-r--r-- 1 oper oper 8.2K Jul 17 05:58 copy_data_complete.suite
oper@ftasvm:~/testsuites$ Below is an example of how a test suite file is structured:
TEST***_FOLDER- Path to the test artefacts including testbeds, testsuites and reportsTEST_CONTACT- Email address of the test owner. This information is included in the test reportTESTSUITES- 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": ""}].
Customer suites
FTAS comes with the following predefined suites which can be run directly on the applicable platform and release combinations. These suite files are present in ~/testsuites directory
PI.suite
All platform independent testcases
105
PD.suite
All platform dependent testcases
96
data_1dut.suite
All one DUT testcases applicable on data switches
19
data_2dut.suite
All two DUT testcases applicable on data switches
112
data_3dut.suite
All three DUT testcases applicable on data switches
8
data_4dut.suite
All four DUT testcases applicable on data switches
61
data_complete.suite
All testcases applicable on data switches
201
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
111
edgecore_4630_202111.suite
All testcases applicable on Edgecore 4630 platform for 202111 release
142
edgecore_9716_202111.suite
All testcases applicable on Edgecore 9716 platform for 202111 release
181
nvidia_202205.suite
All testcases applicable on NVIDIA platforms for 202205 release
200
wistron_3200_ecs2.0.0.suite
All testcases applicable on Wistron 3200 platforms for ECS 2.0.0 release
184
wistron_6512_ecs2.0.0.suite
All testcases applicable on Wistron 6512 platforms for ECS 2.0.0 release
184
Was this helpful?