Documentation: kunit: include example of a parameterized test
authorDaniel Latypov <dlatypov@google.com>
Wed, 16 Dec 2020 00:22:46 +0000 (16:22 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Sat, 16 Jan 2021 00:47:39 +0000 (17:47 -0700)
commit8db50be262e9faf59fa0feb74599c29b64eb0af2
tree300364092aa799f3ceab412aa0c269abc699e068
parentebfd44883ab5dd9a201af2d936e1dfb93962be0b
Documentation: kunit: include example of a parameterized test

Commit fadb08e7c750 ("kunit: Support for Parameterized Testing")
introduced support but lacks documentation for how to use it.

This patch builds on commit 1f0e943df68a ("Documentation: kunit: provide
guidance for testing many inputs") to show a minimal example of the new
feature.

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Tested-by: Brendan Higgins <brendanhiggins@google.com>
Acked-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Documentation/dev-tools/kunit/usage.rst