Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
en:modul:m324_aws:topics:10 [2025/10/18 14:29] dgaravaldien:modul:m324_aws:topics:10 [2026/01/07 11:26] (aktuell) – [Code coverage criteria in Jest] dgaravaldi
Zeile 8: Zeile 8:
 \\ \\
 ==== Code coverage criteria in Jest ==== ==== Code coverage criteria in Jest ====
-  * ''Statements'' represent instructions that have been executed at least once during the unit tests. For example, we can have a line that contains two statements: +  * ''Statements'' represent instructions that have been executed at least once during the unit tests. 
  
 +For example, we can have a line that contains two statements: 
 <code> <code>
 var age= 18; console.log(age) var age= 18; console.log(age)
 </code> </code>
 +This contains a variable declaration statement and a statement that executes the log function that belongs to the console object.
 +
 +Furthermore:
  
-  * This contains a variable declaration statement and a statement that executes the log function that belongs to the console object. 
   * ''Branches'' represent if statements which conditions have been fulfilled at least once during the unit tests.   * ''Branches'' represent if statements which conditions have been fulfilled at least once during the unit tests.
   * ''Functions'' represent functions that have been called at least once during the unit tests.   * ''Functions'' represent functions that have been called at least once during the unit tests.
  • en/modul/m324_aws/topics/10.1760790574.txt.gz
  • Zuletzt geändert: 2025/10/18 14:29
  • von dgaravaldi