2.112. test_vlib module

class test_vlib.TestVlib(methodName='runTest')

Bases: framework.VppTestCase

Vlib Unit Test Cases

setUp()

Clear trace before running each test

classmethod setUpClass()

Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

Perform final cleanup after running all tests in this test-case

test_vlib_buffer_c_unittest()

Vlib buffer.c Code Coverage Test

test_vlib_format_unittest()

Vlib format.c Code Coverage Test

test_vlib_main_unittest()

Vlib main.c Code Coverage Test

test_vlib_node_cli_unittest()

Vlib node_cli.c Code Coverage Test

worker_config = 'workers 1'