On Wed, Oct 17, 2018 at 8:55 PM Dan Williams <dan.j.williams(a)intel.com> wrote:
> ## More information on KUnit
> There is a bunch of documentation near the end of this patch set that
> describes how to use KUnit and best practices for writing unit tests.
> For convenience I am hosting the compiled docs here:
Nice! I've been using mocking techniques in kernel code for the
libnvdimm test infrastructure in tools/testing/nvdimm/. It's part unit
test infrastructure, part emulation, and I've always had the feeling
it's all a bit too adhoc. I'm going to take a look and see what can be
converted to kunit. Please include linux-nvdimm(a)lists.01.org on future
Great to hear!
Interesting, is this kind of like the nfsim stuff?
I'll shamelessly plug my lwn article about unit testing
because it's always good to find
fellow co-travelers to compare notes and advocate for more test
oriented kernel development.
Most definitely! I will take a look, and be in touch.