Changes for page Testing Principles

Last modified by chrisby on 2024/04/01 12:52

From version 2.2
edited by chrisby
on 2023/05/29 16:05
Change comment: There is no comment for this version
To version 2.3
edited by chrisby
on 2023/05/29 16:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,5 @@
1 -* **High Coverage**:
2 -** **Code Coverage** Definition: The percentage of classes/methods/lines of code executed during testing. There is class coverage, method coverage and line coverage, the latter being the most important.
1 +* **Code Coverage**:
2 +** Definition: The percentage of classes/methods/lines of code executed during testing. There is class coverage, method coverage and line coverage. Code coverage is generally a useful quality metric and indicator of missing tests, but it is not a guarantee of good tests or that all relevant cases are covered, so take it with a grain of salt.
3 3  ** **100% code coverage** is the goal. Untested code is insecure code and prone to bugs.
4 4  ** Leverage **code coverage tools** that determine code coverage during test execution.
5 5  ** **Meaningful Tests:** Don't add tests that don't add value or test something that has already been tested.