From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A178C433B4 for ; Sun, 11 Apr 2021 17:05:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 072696102A for ; Sun, 11 Apr 2021 17:05:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236527AbhDKRFu (ORCPT ); Sun, 11 Apr 2021 13:05:50 -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