mercredi 27 janvier 2016

What is a branch in code coverage for javascript unit testing

I use istanbul for code coverage of unit tests in an angularjs project. There are 4 types of coverage and they are statement, branch, function and line coverage. Statement, function and line are allright but i don't understand what "branch" is. Could anyone explain what branch is? Thanks

Aucun commentaire:

Enregistrer un commentaire