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 384
-rw-rw-r-- 1 oper oper 18247 Mar 2 17:12 wistron_6512_ecs2.2.2.suite
-rw-rw-r-- 1 oper oper 16342 Mar 2 17:12 wistron_3200_ecs2.2.2.suite
-rw-rw-r-- 1 oper oper 405 Mar 2 17:12 verify_yaml.py
-rw-rw-r-- 1 oper oper 872 Mar 2 17:12 verify_testbed.suite
-rw-rw-r-- 1 oper oper 6877 Mar 2 17:12 sanity.suite
-rw-rw-r-- 1 oper oper 14429 Mar 2 17:12 nvidia_msn2100.suite
-rw-rw-r-- 1 oper oper 14741 Mar 2 17:12 nvidia_202205.suite
-rw-rw-r-- 1 oper oper 7697 Mar 2 17:12 mgmt_complete.suite
-rw-rw-r-- 1 oper oper 808 Mar 2 17:12 mgmt_3dut.suite
-rw-rw-r-- 1 oper oper 5338 Mar 2 17:12 mgmt_2dut.suite
-rw-rw-r-- 1 oper oper 2075 Mar 2 17:12 mgmt_1dut.suite
-rw-rw-r-- 1 oper oper 21071 Mar 2 17:12 edgecore_9736.suite
-rw-rw-r-- 1 oper oper 22136 Mar 2 17:12 edgecore_9716_202111.suite
-rw-rw-r-- 1 oper oper 24399 Mar 2 17:12 edgecore_7726_202111.suite
-rw-rw-r-- 1 oper oper 17023 Mar 2 17:12 edgecore_4630_202111.suite
-rw-rw-r-- 1 oper oper 838 Mar 2 17:12 edge_sonic.suite
-rw-rw-r-- 1 oper oper 22218 Mar 2 17:12 ds3000_data_complete.suite
-rw-rw-r-- 1 oper oper 8960 Mar 2 17:12 cisco_data_2dut.suite
-rw-rw-r-- 1 oper oper 10884 Mar 2 17:12 ccs_regular.suite
-rw-r--r-- 1 oper oper 12166 Jun 22 15:34 regular.suite
-rw-r--r-- 1 oper oper 17003 Jul 1 13:59 ones_agent_validation.suite
-rw-r--r-- 1 oper oper 9304 Jul 1 13:59 data_4dut.suite
-rw-r--r-- 1 oper oper 2215 Jul 1 13:59 data_3dut.suite
-rw-r--r-- 1 oper oper 12461 Jul 1 13:59 data_2dut.suite
-rw-r--r-- 1 oper oper 6038 Jul 1 13:59 data_1dut.suite
-rw-r--r-- 1 oper oper 16411 Jul 1 13:59 PD.suite
-rw-r--r-- 1 oper oper 28312 Jul 1 17:49 data_complete.suite
-rw-r--r-- 1 oper oper 8924 Jul 2 07:40 PI.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
148
PD.suite
All platform dependent testcases
232
data_1dut.suite
All one DUT testcases applicable on data switches
86
data_2dut.suite
All two DUT testcases applicable on data switches
199
data_3dut.suite
All three DUT testcases applicable on data switches
25
data_4dut.suite
All four DUT testcases applicable on data switches
130
data_complete.suite
All testcases applicable on data switches
448
mgmt_1dut.suite
All one DUT testcases applicable on management switches
23
mgmt_2dut.suite
All two DUT testcases applicable on management switches
87
mgmt_3dut.suite
All three DUT testcases applicable on management switches
8
mgmt_complete.suite
All testcases applicable on management switches
126
edgecore_4630_202111.suite
All testcases applicable on Edgecore 4630 platform for 202111 release
282
edgecore_9716_202111.suite
All testcases applicable on Edgecore 9716 platform for 202111 release
359
nvidia_202205.suite
All testcases applicable on NVIDIA platforms for 202205 release
240
wistron_3200_ecs2.2.2.suite
All testcases applicable on Wistron 3200 platforms for ECS 2.2.2 release
265
wistron_6512_ecs2.0.0.suite
All testcases applicable on Wistron 6512 platforms for ECS 2.2.2 release
292
Last updated
Was this helpful?
