For code coverage - we have been using the tools like Cobertura which will run with JUNITs. So developer will try to achieve at least 85% Branch coverage / line coverage. Developer job is done at this point. Developer has a high confidence that the code is rock solid.
If this service layer is integrated with a 3rd Party UI system , and the tester tests service layer through this UI system , there is no way of knowing that all the scenarios were covered. Testers could have missed certain test conditions.
Is there a tool , that could give a feedback after a Test phase has passed that code coverage is good. That would mean that a system that runs on the server and each time the test is performed it look through the lines/branches it touches similar to Cobertura. Note that there are not JUNIT test cases. So I would deploy this system in QA and would look for feedback.
Aucun commentaire:
Enregistrer un commentaire