From 6539d63561cf0cb6fa095f2187c767f537de22a3 Mon Sep 17 00:00:00 2001 From: leonarddt05 <139609434+leonarddt05@users.noreply.github.com> Date: Fri, 1 Dec 2023 06:32:57 +0300 Subject: [PATCH] Update README.md I made some changes, that are; 1. In the section Structure, the sentence: "This directory has tests for modules or classes that mock out any external dependencies." Typo: "mock" should be "mocks" for grammatical accuracy. 2. In the section Structure, the sentence: "pytest will print how what the users sees has changed," Typo: "how what" should be "what" for grammatical accuracy. --- cli/tests/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/tests/README.md b/cli/tests/README.md index 7be3c5b5a51f..2396736f8d7a 100644 --- a/cli/tests/README.md +++ b/cli/tests/README.md @@ -10,7 +10,7 @@ Unit tests are meant to be the primary test type. This directory has tests for modules or classes -that mock out any external dependencies. +that mocks out any external dependencies. This is the only directory that counts for test coverage. @@ -25,7 +25,7 @@ don't change their behavior from the user's point of view; unit tests wouldn't necessarily catch when units don't connect properly. Consider any errors from this directory to be a confirmation prompt: -`pytest` will print how what the users sees has changed, +`pytest` will print what the users sees has changed, and if it seems sensible, just update the snapshots with `make regenerate-tests`. ### `qa/`