From c41a36bed03f29a651c127cd71b660c67a6054ff Mon Sep 17 00:00:00 2001 From: fdai7782 Date: Thu, 11 Jan 2024 19:42:23 +0000 Subject: [PATCH] Update Lerntagebuch.md --- Lerntagebuch.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Lerntagebuch.md b/Lerntagebuch.md index da9d5e1..0297ecf 100644 --- a/Lerntagebuch.md +++ b/Lerntagebuch.md @@ -435,9 +435,12 @@ Errors can have a significant impact on software systems. They can cause softwar - Motivation: - Quality costs: The cost of fixing bugs increases with the age of the code. - - Which tests to automate?: Unit tests should be written for all public methods and classes. - - How to write a good unit test?: A good unit test is independent, repeatable, complete, accurate, and up-to-date. - - What does "trustworthy" mean?: A trustworthy unit test is reliable and provides reliable results. + - Which tests to automate? + - Unit tests should be written for all public methods and classes. + - How to write a good unit test? + - A good unit test is independent, repeatable, complete, accurate, and up-to-date. + - What does "trustworthy" mean? + - A trustworthy unit test is reliable and provides reliable results. - Timely: Unit tests should be written as early as possible to detect bugs early. - Conclusion: Unit tests are the most frequently automated tests, and Test-Driven Development (TDD) is the most suitable approach for their creation.