Re: [PATCH v7 1/2] kunit: Support for Parameterized Testing

2020-11-15 Thread Marco Elver
On Sun, 15 Nov 2020 at 13:18, Arpitha Raghunandan <98.a...@gmail.com> wrote: > > On 15/11/20 2:28 pm, Marco Elver wrote: > > On Sat, 14 Nov 2020 at 13:38, Arpitha Raghunandan <98.a...@gmail.com> wrote: > >> Implementation of support for parameterized testing in KUnit. This > >> approach requires

Re: [PATCH v7 1/2] kunit: Support for Parameterized Testing

2020-11-15 Thread Arpitha Raghunandan
On 15/11/20 2:28 pm, Marco Elver wrote: > On Sat, 14 Nov 2020 at 13:38, Arpitha Raghunandan <98.a...@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

Re: [PATCH v7 1/2] kunit: Support for Parameterized Testing

2020-11-15 Thread Marco Elver
On Sat, 14 Nov 2020 at 13:38, Arpitha Raghunandan <98.a...@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

[PATCH v7 1/2] kunit: Support for Parameterized Testing

2020-11-14 Thread Arpitha Raghunandan
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