Changes for page Testing Principles
Last modified by chrisby on 2024/04/01 12:52
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,5 @@ 1 -* ** HighCoverage**: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 latterbeing themost 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.