Quiz on Best Practices for Pytest and Unit Testing
Test your grasp of the concepts we learned in this chapter.
1
Which statement accurately describes branch coverage?
A)
It measures the percentage of code lines executed during the test suite.
B)
It measures the percentage of possible branches within the code that are covered by the tests.
C)
It measures the number of test cases written for each code module.
D)
It measures the combination of branch and line coverage achieved by the test suite.
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.