]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Documentation: kunit: Document new parameterized test features
authorMarie Zhussupova <marievic@google.com>
Tue, 26 Aug 2025 09:13:37 +0000 (17:13 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 27 Aug 2025 05:36:03 +0000 (23:36 -0600)
commit93cf798e761036ea357cae1e1c477f2afaa4b5f1
tree06f33734490d5c2a47ee556a8b4fbe712eb8bd23
parentf9687f351ff9ec3bd8b74fd7873d2b5940829a81
Documentation: kunit: Document new parameterized test features

This patch updates the KUnit docs to show how to use the new
parameterized test context to share resources between parameter runs.
It documents and show examples of different ways the test user can
pass parameter arrays to a parameterized test. Finally, it specifies the
parameterized testing terminology.

Link: https://lore.kernel.org/r/20250826091341.1427123-8-davidgow@google.com
Reviewed-by: Rae Moar <rmoar@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Marie Zhussupova <marievic@google.com>
Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Documentation/dev-tools/kunit/usage.rst