Question · NestJS course · Module 7: Testing

Types of coverage metrics

Which code coverage metric checks whether all conditional paths (if/else) have been tested?

Answer options

  • File coverage
  • Line coverage
  • Function coverage
  • Branch coverage

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