Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1260905pxb; Sun, 11 Apr 2021 13:12:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgEKGfuh2hty3ulxkgpf837WoAFb6CA51vItGQ5FZ/sM3GMsFYfRq1VV7yM+gmIrCPW7mW X-Received: by 2002:a17:907:c28:: with SMTP id ga40mr24320590ejc.444.1618171975186; Sun, 11 Apr 2021 13:12:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618171975; cv=none; d=google.com; s=arc-20160816; b=P0DM+l7dtTbryKdYzUtGUFVMlWQ2Q2x089YtqxAvucCguxOezv3/ZqF/jyFWvucsxl jdfFf1vnRIo81TvSyV/zaITDVGBGCbIV/SWpNZJ5rFPrt5t14yAJgLRrHNZyTy3d3Tp0 b0PLy9G75kSBBgKfHzjF+DIfB6MXMZaknLj3Yv7RBUfz6Q/59bllFrLI9nNObbwipOAN RvyKhRFxX4kdo+sYqnF2E/gAm8IqusvEoULgTZy5ezofgWMAFFH/GeNgBjZt8Cuo2aw2 M4d3SmKpcTpzDhuoKOBgpDhf22Q9zYCJIt0n8L9FaT+pUlojjmFRnrRiJjI3iktQHJ0a 2MEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=xxK8/dr2vH+/dn7vWfea+JFsLZcrSFJ+5yc+6TLS/rc=; b=SJhGHPwfO1wx/x/yt1z5skC1HcETKa2sAXOhyWPrjndpVxIHkZoKnE69Krh9HL83Lr q99xRrPRG4XDqFnPbgDVzZTanWoo3sYYv8iUdpZ8FAPUkUJCQg9CJYmK/AS85xyidNxV e4yxzsEol/dGpZm1+2O7LimFURiGQ5zUYOYRK87DDxxqkyeGFQcq62lSdNjiBTaIJNaL 8zRBk23xQhUukvrh/Kom/KUa6vjPpGX0sfOrIO1WVi0sDNovevRn5M2RBgshzuH83fbV nBbLPD5WsQX6Noag0Y5ezC6UDaO3iZ//Exv6P+ZiJK8WzlCzNkycwMpqa9nNFyPaC18K YH4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="p/aqQdgM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c9si6191130eds.318.2021.04.11.13.12.19; Sun, 11 Apr 2021 13:12:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="p/aqQdgM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235780AbhDKRFt (ORCPT + 99 others); Sun, 11 Apr 2021 13:05:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235391AbhDKRFt (ORCPT ); Sun, 11 Apr 2021 13:05:49 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48F13C061574; Sun, 11 Apr 2021 10:05:32 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:104d::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 534EA60C; Sun, 11 Apr 2021 17:05:31 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 534EA60C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1618160731; bh=xxK8/dr2vH+/dn7vWfea+JFsLZcrSFJ+5yc+6TLS/rc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=p/aqQdgMoq9ic8sql18EogPObNY/GxwcTjG7rG1BxWMTTSiJrxUztZrPK4oP++OGn VYtyiibEX417YgAlkZ6x5vinIknGdtzGryg9NI/5wFXO+v2oaSNKTWLd+Q30OaGKnq Cg/iSxQLHHsZfUd6oU0doM5bB189DbDParIIaVO6v2Pyk8XtN0mTzFxuQR9UqjcPBb 5n9RVwnhYM8RaMAOrrXU2JWkN+eiSpyLKSndLHdXdVomdL3bCPOPrIvi8lDXMVXjCu PVK7k19yXEXMI7EpNllKxyX+NA8hdI3N9h/w5aau4WkRmdbkQm7TCq03nqYdv7PR3P ruSR5ouTYTlFg== From: Jonathan Corbet To: David Gow , Shuah Khan , Andrew Morton , Dmitry Vyukov , Marco Elver , Brendan Higgins , Daniel Latypov Cc: David Gow , linux-doc@vger.kernel.org, KUnit Development , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Documentation: dev-tools: Add Testing Overview In-Reply-To: <20210410070529.4113432-1-davidgow@google.com> References: <20210410070529.4113432-1-davidgow@google.com> Date: Sun, 11 Apr 2021 11:05:29 -0600 Message-ID: <87zgy4vjja.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A nit but > +The bulk of kernel tests are written using either the :doc:`kselftest > +` or :doc:`KUnit ` frameworks. These both provide > +infrastructure to help make running tests and groups of tests easier, as well > +as providing helpers to aid in writing new tests. If you just mention the relevant file, the docs build will make links for you...so just "Documentation/dev-tools/kselftest.rst" rather than the :doc: directive. That helps to improve the readability of the plain-text documentation as well. > +`KUnit` tests therefore are best written against small, self-contained parts > +of the kernel, which can be tested in isolation. This aligns well with the > +concept of Unit testing. If you want literal text, you need a double backtick: ``KUnit``. Otherwise I'd just use normal quotes. Thanks, jon