Ultimate DPDK System Enabling Expert
- Complete ./dpdkick.conf
- Straightly run
./dpdkick.py
./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)
./dpdkick.py
in dpdkick.py
mytest_suite = unittest.TestLoader().loadTestsFromTestCase(mytest.mytest_class)
runner.run(mytest_suite, description = 'Mytest suite')