Currently, There is no way to check how the unit tests cover the codebase. I believe a code coverage utility like Jacoco can be helpful with this and maybe at some point in the future we can make it also part of the continuous build and integration process for Alluxio such that builds can fail if they drop the code coverage.
I am not sure if this was proposed before or not or if it would be even useful for projects like Alluxio. What do you guys think?
Hi thanks for the proposal. The code coverage would be a good indicator of the project health. And the code coverage enforcement is also common in many other large projects, though in the beginning we may not want the threshold too high to discourage contributions.
It will be great if you can add this improvement.
Thanks for your feedback. Yes, I agree that we should not start by setting a threshold for code coverage for now. I will just work on evaluating which tool will fit best and then adding it to the reporting process.