Documentation: kunit: remove claims that kunit is a mocking framework
authorDaniel Latypov <dlatypov@google.com>
Tue, 26 Oct 2021 15:36:38 +0000 (08:36 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 13 Dec 2021 20:33:42 +0000 (13:33 -0700)
KUnit does not have any first party support for "mocking".

The original RFC had some, but the code got dropped.
However, the documentation patches never got updated. This fixes that.

https://kunit.dev/mocking.html has a current writeup on the status quo
and will hopefully be eventually folded into the in-kernel
Documentation.

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

index b33ad72bcf0bccf748ad8e2bd148ab4564c55ac3..3006cadcf44a2e0ec85bb0e0b1c5aa41db242f09 100644 (file)
@@ -12,5 +12,4 @@ following sections:
 
 Documentation/dev-tools/kunit/api/test.rst
 
- - documents all of the standard testing API excluding mocking
-   or mocking related features.
+ - documents all of the standard testing API
index aaa97f17e5b32ee6919bf96a25d6b227885e8b99..c5eca423e8b69e529e1f8bd2283f884addc502bd 100644 (file)
@@ -4,8 +4,7 @@
 Test API
 ========
 
-This file documents all of the standard testing API excluding mocking or mocking
-related features.
+This file documents all of the standard testing API.
 
 .. kernel-doc:: include/kunit/test.h
    :internal:
index cacb35ec658dbed8257572d86ef6803c9d5fd582..7af7dec83646acbb9ab62b6bda57483a8f598e10 100644 (file)
@@ -19,7 +19,7 @@ KUnit - Unit Testing for the Linux Kernel
 What is KUnit?
 ==============
 
-KUnit is a lightweight unit testing and mocking framework for the Linux kernel.
+KUnit is a lightweight unit testing framework for the Linux kernel.
 
 KUnit is heavily inspired by JUnit, Python's unittest.mock, and
 Googletest/Googlemock for C++. KUnit provides facilities for defining unit test