Skip to content

PanZhangg/DPDKick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')

About

Ultimate DPDK System Enabling Expert

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published