summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Latypov <dlatypov@google.com>2021-01-25 21:53:33 +0300
committerShuah Khan <skhan@linuxfoundation.org>2021-02-09 01:41:11 +0300
commit7c2b108cbe75f993d5e69d5205a01211fa33417d (patch)
tree48b02d365ad78773a4d6c4baadded11230f29f15 /include
parentc9ef2d3e3f3b3e56429f56bbea2d16882b054dbe (diff)
downloadlinux-7c2b108cbe75f993d5e69d5205a01211fa33417d.tar.xz
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions