jacoco&mutation
Last updated
Was this helpful?
Last updated
Was this helpful?
jacoco: if the quantity of the unit test is enough.
mutation: if the quality of the unit test is good.
jacoco: cover those branches, all of the possible way to get to each line.
there are 8 branches for try with resource block. actually, there is only 6. hardly to cover them.
mutation: if the boundary or condition has changed, the unit test should fail, killed. Or survived which means the unit test is not good.