Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 689 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 689 Bytes

DPDKick

Ultimate DPDK System Enabling Expert

Usage

  1. Complete ./dpdkick.conf
  2. Straightly run ./dpdkick.py

Add New Testcases

Implement your testcase in a test suite

./testcases/mytest.py

in mytest.py

import unittest

class mytest_class(unittest.TestCase):
    # Each testcase's def name must start with "test_"
    def test_mytest_test1(self):
        # Add suggestion info if this TC fails
        # Testlogic
        self.assertEqual(my_assert)

Run the test suite

./dpdkick.py

in dpdkick.py

mytest_suite = unittest.TestLoader().loadTestsFromTestCase(mytest.mytest_class)
runner.run(mytest_suite, description = 'Mytest suite')