WSL2-Linux-Kernel/Documentation/dev-tools/kunit
Daniel Latypov 7c2b108cbe Documentation: kunit: add tips.rst for small examples
./usage.rst contains fairly long examples and explanations of things
like how to fake a class and how to use parameterized tests (and how you
could do table-driven tests yourself).

It's not exactly necessary information, so we add a new page with more
digestible tips like "use kunit_kzalloc() instead of kzalloc() so you
don't have to worry about calling kfree() yourself" and the like.

Change start.rst to point users to this new page first and let them know
that usage.rst is more of optional further reading.

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2021-02-08 15:41:11 -07:00
..
api
faq.rst KUnit: Docs: fix a wording typo 2020-11-10 13:36:36 -07:00
index.rst Documentation: kunit: add tips.rst for small examples 2021-02-08 15:41:11 -07:00
kunit-tool.rst Documentation: kunit: Remove references to --defconfig 2020-07-17 14:08:43 -06:00
start.rst Documentation: kunit: add tips.rst for small examples 2021-02-08 15:41:11 -07:00
style.rst KUnit: Docs: style: fix some Kconfig example issues 2020-11-10 13:39:26 -07:00
tips.rst Documentation: kunit: add tips.rst for small examples 2021-02-08 15:41:11 -07:00
usage.rst Documentation: kunit: include example of a parameterized test 2021-01-15 17:47:39 -07:00