Documentation: kunit: Add naming guidelines
authorDavid Gow <davidgow@google.com>
Fri, 11 Sep 2020 04:24:04 +0000 (21:24 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 9 Oct 2020 20:33:17 +0000 (14:33 -0600)
commit2a41fc52c21b6ece49921716bd289bfebaadcc04
tree508a60472e6e65debb05ad0fb46b5641b558e7f0
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
Documentation: kunit: Add naming guidelines

As discussed in [1], KUnit tests have hitherto not had a particularly
consistent naming scheme. This adds documentation outlining how tests
and test suites should be named, including how those names should be
used in Kconfig entries and filenames.

[1]:
https://lore.kernel.org/linux-kselftest/202006141005.BA19A9D3@keescook/t/#u

Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Reviewed-by: Tim Bird <tim.bird@sony.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Documentation/dev-tools/kunit/index.rst
Documentation/dev-tools/kunit/style.rst [new file with mode: 0644]