Skip to content

Commit 58b391d

Browse files
dlatypovshuahkh
authored andcommitted
Documentation: kunit: remove claims that kunit is a mocking framework
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 <[email protected]> Reviewed-by: David Gow <[email protected]> Reviewed-by: Brendan Higgins <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 9a6bb30 commit 58b391d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Documentation/dev-tools/kunit/api/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ following sections:
1212

1313
Documentation/dev-tools/kunit/api/test.rst
1414

15-
- documents all of the standard testing API excluding mocking
16-
or mocking related features.
15+
- documents all of the standard testing API

Documentation/dev-tools/kunit/api/test.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
Test API
55
========
66

7-
This file documents all of the standard testing API excluding mocking or mocking
8-
related features.
7+
This file documents all of the standard testing API.
98

109
.. kernel-doc:: include/kunit/test.h
1110
:internal:

Documentation/dev-tools/kunit/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ KUnit - Unit Testing for the Linux Kernel
1919
What is KUnit?
2020
==============
2121

22-
KUnit is a lightweight unit testing and mocking framework for the Linux kernel.
22+
KUnit is a lightweight unit testing framework for the Linux kernel.
2323

2424
KUnit is heavily inspired by JUnit, Python's unittest.mock, and
2525
Googletest/Googlemock for C++. KUnit provides facilities for defining unit test

0 commit comments

Comments
 (0)