Browse Source

Update Lerntagebuch.md

main Vortrag_2024-02-09__94
fdai7782 12 months ago
parent
commit
c41a36bed0
  1. 9
      Lerntagebuch.md

9
Lerntagebuch.md

@ -435,9 +435,12 @@ Errors can have a significant impact on software systems. They can cause softwar
- Motivation: - Motivation:
- Quality costs: The cost of fixing bugs increases with the age of the code. - 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. - 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. - Conclusion: Unit tests are the most frequently automated tests, and Test-Driven Development (TDD) is the most suitable approach for their creation.

Loading…
Cancel
Save