I am working on a Spring MVC + maven based project which contain good number of scenarios to be tested, analysed and recorded in reports (like Code coverage, static code analysis etc.). The scenarios are more challenging so we cannot do the code coverage using only Unit Test cases if possible I need to do the on-the-fly instrumentation at runtime of the project!.
I have searched for the same but I didn't get a good example to achieve the requirement, as I red in some websites Jacoco is capable of doing on-the-fly code coverage but I am not able to implement it on my project.
What exactly I need: I have already integrated my project with Surefire + Jacoco + SonarQube for static code analysis + code coverage for unit test cases, but I am looking for coverage report on how the controller flows across application tiers while executing few scenarios when application is running on the server like Jboos wildfly. So that I can cover most of the challenging scenarios of the application.
please help me if I am wrong to understand the on-the-fly instrumentation if possible guide me to configure the same.
Any help will be appreciated.