Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring boot app startup within functional tests can cobertura calculate coverage? #133

Open
daveyleo opened this issue Jun 12, 2017 · 0 comments

Comments

@daveyleo
Copy link

daveyleo commented Jun 12, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant