Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
en:modul:m324_aws:topics:10 [2025/10/15 14:14] – angelegt 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. 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. +Furthermore: 
-    ''Functions'' represent functions that have been called at least once during the unit tests. + 
-    ''Lines'' represent code lines that have executed 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. 
 +  ''Lines'' represent code lines that have executed at least once during the unit tests.
  
 \\ \\
  • en/modul/m324_aws/topics/10.1760530450.txt.gz
  • Zuletzt geändert: 2025/10/15 14:14
  • von dgaravaldi