[Linux-kernel-mentees] [PATCH v5 1/2] kunit: Support for Parameterized Testing
elver at google.com
Fri Nov 6 18:37:34 UTC 2020
On Fri, 6 Nov 2020 at 19:28, Arpitha Raghunandan <98.arpi at gmail.com> wrote:
> Implementation of support for parameterized testing in KUnit.
> This approach requires the creation of a test case using the
> KUNIT_CASE_PARAM macro that accepts a generator function as input.
> This generator function should return the next parameter given the
> previous parameter in parameterized tests. It also provides
> a macro to generate common-case generators.
> Signed-off-by: Arpitha Raghunandan <98.arpi at gmail.com>
> Co-developed-by: Marco Elver <elver at google.com>
> Signed-off-by: Marco Elver <elver at google.com>
> include/kunit/test.h | 36 ++++++++++++++++++++++++++++++++++
> lib/kunit/test.c | 46 +++++++++++++++++++++++++++++++-------------
> 2 files changed, 69 insertions(+), 13 deletions(-)
I think this is ready. Thank you for your patience, and addressing my
comments! I'm obviously fine with v5, but I think my Ack or Review
won't count much because of Co-developed. :-)
Others: Please take another look.
More information about the Linux-kernel-mentees