I have a gradle spring boot application with unit tests, and functionalTest Test task that starts up the spring boot application by spawning another gradle process to run the bootRun task, once started it then executes the functionalTests which call the rest endpoints on the spring boot app and assert the responses, kills the spawned process when finished.
This works perfectly and quite reliably, however the cobertura plugin does not report any code coverage for my functionalTests only my unit tests.
Is there a way I can configure this to get the bootRun started process to update the .ser file (use the instrumented_classes) ?
I have a gradle spring boot application with unit tests, and functionalTest Test task that starts up the spring boot application by spawning another gradle process to run the bootRun task, once started it then executes the functionalTests which call the rest endpoints on the spring boot app and assert the responses, kills the spawned process when finished.
This works perfectly and quite reliably, however the cobertura plugin does not report any code coverage for my functionalTests only my unit tests.
Is there a way I can configure this to get the bootRun started process to update the .ser file (use the instrumented_classes) ?
Any help here would be appreciated.