Question · NestJS course · Module 7: Testing

Test coverage metrics

The 'branch coverage' metric measures:

Answer options

  • The number of lines of code in tests
  • The speed of test execution
  • The number of files with tests
  • The percentage of tested conditional paths (if/else)

You can check the correct answer by solving this task in the CodeWorlds game.