From cec45238c1efa40ea7713754d62a4f6037651055 Mon Sep 17 00:00:00 2001 From: Andri Joos <andri@joos.io> Date: Thu, 13 Jun 2024 20:12:14 +0200 Subject: [PATCH] fix test strategy --- .../quality-measures/test-strategy.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/02_product-documentation/quality-measures/test-strategy.tex b/src/02_product-documentation/quality-measures/test-strategy.tex index 6b4e67f..0c6e0c7 100644 --- a/src/02_product-documentation/quality-measures/test-strategy.tex +++ b/src/02_product-documentation/quality-measures/test-strategy.tex @@ -15,7 +15,7 @@ \item \textbf{Fast}: Unit tests must be fast, meaning they must execute quickly so that they can be run frequently during development. \item \textbf{Independent}: Unit tests must be independent of one another, meaning that the outcome of one test must not affect the outcome of another. This ensures that each test is testing a specific and isolated unit of code. - \item \textbf{Repeatable}: Unit tests must be repeatable, meaning that they must produce the same result every time they are run. + \item \textbf{Repeatable}: Unit tests must be repeatable, meaning that they must always produce the same result every time they are run with the same preconditions. \item \textbf{Self-validating}: Unit tests must be self-validating, meaning that they must be able to automatically determine if they have passed or failed without human intervention. This ensures that tests can be run as part of the continuous integration process. \item \textbf{Timely}: Unit tests must be written in a timely manner, meaning that they must be written before or directly after the code they are testing is implemented, depending on the testing technique used. @@ -70,4 +70,4 @@ \hyperref[sec:product-documentation/architecture/toolstack]{web-application's backend}. \subsubsection{Python} - In python, the de-facto standard framework for testing \href{https://github.com/pytest-dev/pytest}{pytest} is used. + In python, the de-facto standard framework for testing \href{https://github.com/pytest-dev/pytest}{pytest} is used if there is unit-testable code. -- GitLab