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>
15 lines
286 B
ReStructuredText
15 lines
286 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
=============
|
|
API Reference
|
|
=============
|
|
.. toctree::
|
|
|
|
test
|
|
|
|
This section documents the KUnit kernel testing API. It is divided into the
|
|
following sections:
|
|
|
|
Documentation/dev-tools/kunit/api/test.rst
|
|
|
|
- documents all of the standard testing API
|