Sep 9 – 11, 2019
Europe/Lisbon timezone

Collaboration/unification around unit testing frameworks

Sep 10, 2019, 12:20 PM
Esmerelda/room-I&II (Corinthia Hotel Lisbon)


Corinthia Hotel Lisbon



Dr Knut Omang (Oracle)


From the initial reactions and interest I have seen wrt. KTF
and the discussions on LKML around KUnit (,
it seems there's a general belief that some form of unit test framework
like these can be a good addition to the tools and infrastructure already available
in the kernel.

It seems however that different people have different notions about what
and how such a framework should ideally look, and what features belong there.
I'd like to see if we can bring that discussion forward by focusing on
some of these items, where people seem to have quite differing views
depending on where they come from. Here is a non extensive list of
some topics that seems to pop up when this gets discussed:

  • "Purity" of unit testing - what constitutes a "unit" in the kernel?
  • Testing kernel code - user space vs kernel space? (both useful)
  • Immediate development/debugging requirements vs longer term needs
  • Driver/hardware interaction testing?
  • "Neat"-factor
  • ease of use
  • Network testing (more than 1 kernel involved)
  • How to best integrate with existing test infrastructure in the
  • Unification and simpliciation options

I'd like to make a short intro into this, and hopefully we can have some
good exchange based on that.

I agree to abide by the anti-harassment policy Yes

Primary author

Dr Knut Omang (Oracle)

Presentation materials