Messages in this thread | | | From | Sadiya Kazi <> | Date | Mon, 22 Aug 2022 11:53:44 +0530 | Subject | Re: [PATCH v2 5/8] Documentation: KUnit: add intro to the getting-started page |
| |
On Mon, Aug 22, 2022 at 8:00 AM Tales Aparecida <tales.aparecida@gmail.com> wrote: > > Describe the objective of the Getting Started page, which should be a > brief and beginner-friendly walkthrough for running and writing tests, > showing the reader where to find detailed instructions in other pages. > > Signed-off-by: Tales Aparecida <tales.aparecida@gmail.com> > Reviewed-by: Maíra Canal <mairacanal@riseup.net> > > --- > Notes: > Remove recommendation about having compiled the kernel before using > kunit_tool. I changed my mind about it after Tim Bird's highlight. > ---
Hi Tales, Thank you for helping with this documentation. You can provide the below content as an intro to this page:
This page covers information you'll need to know when you're new to working with KUnit. It includes topics like running tests, writing a simple test case, and covers common problems users face when using KUnit for the first time.
Reviewed-by:Sadiya Kazi<Sadiaykazi@google.com>
Regards, Sadiya
> Documentation/dev-tools/kunit/start.rst | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/dev-tools/kunit/start.rst b/Documentation/dev-tools/kunit/start.rst > index adf782507999..75fd05286396 100644 > --- a/Documentation/dev-tools/kunit/start.rst > +++ b/Documentation/dev-tools/kunit/start.rst > @@ -4,6 +4,10 @@ > Getting Started > =============== > > +This page contains an overview of the kunit_tool and KUnit framework, > +teaching how to run existing tests and then how to write a simple test case, > +and covers common problems users face when using KUnit for the first time. > + > Installing Dependencies > ======================= > KUnit has the same dependencies as the Linux kernel. As long as you can > -- > 2.37.2 >
| |