NIKSS-vSwitch/nikss

Create tests

Opened this issue · 0 comments

tatry commented

Invent and create method to test code.

Ideas (discussion needed):

  • C linter (clang-format, clang-tidy, etc.)
  • Adopt PTF-ebpf tests from p4c.
  • Framework for validation input & output (stdin, stdout, stderr, cmd arguments, map values, etc.).
  • Use Valgrind for detect memory leaks and other related bugs. Installation from source might be required due to support for bpf syscall (version 3.18 is possible to work).