My Works & learnings

Allow vs Permit and JS Coverage

September 29, 2019

What is the difference between Allow and Permit ?

Allow and Permit has the same meaning. Permit is more formal than Allow.

[Reference] (https://dictionary.cambridge.org/grammar/british-grammar/allow-permit-or-let)

JS COVERAGE

Today I was going through the report of JS Code Coverage . We use JS Cover. There was three sections of percentages for all the JS files. These three sections give percentage of the code covered with the tests.

Code Coverage

  • I belive this is the percentage of code that got executed in the tests

    Branch Coverage

  • This is percentages of branches covered to total number of branches

    Function Coverage

  • This is percentages of functions covered to total number of functions

Vishnu Sandhireddy

Written by Vishnu Sandhireddy who lives and works in Hyderabad, India. twitter