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
Measuring code coverage of integration tests #67
Comments
@donsizemore IQSS/dataverse#6186 was merged so I guess my new docs looked ok. I think we may need to work on #65 a bit too. |
@donsizemore and I talked about this issue on Wednesday. I just gave it a new title. In IQSS/dataverse#6272 I cleaned up the buttons at the bottom of the README for dataverse. In my head, I left space for a button called "API Test coverage". That is to say, it's the last thing that isn't done:
gdcc/dataverse-kubernetes#84 is related and as I said @poikilotherm has ideas of how we can use Maven instead of Pete's script to put the extra jar in the war file. The place to work on Maven stuff is IQSS/dataverse#6124 For this issue (Ansible stuff) we could either work with what we have now, the scripts and docs at http://guides.dataverse.org/en/latest/developers/testing.html#measuring-coverage-of-integration-tests or we could defer and make it all fancier with Maven first. |
@pdurbin pom.xml changes may be the way, but for now I took a baby step and enabled this in Jenkins: https://jenkins.dataverse.org/job/IQSS-dataverse-develop/297/jacoco/ feedback, positive or negative, welcome. |
@donsizemore as we just discussed on Zoom, this is looking great! Go, go, go! Thank you! |
@pdurbin just so you know I haven't forgotten, here's where I am currently:
|
@pdurbin @scolapasta and I tried bumping Jacoco to 0.8.5:
|
@donsizemore - not sure if this is the problem you're running into or not; but in my hands glassfish needed a restart after adding the jacoco agent, before deploying dataverse. |
@pameyer I'm placing the agent before I start glassfish; different jacoco version cause deployment to die in different classes. |
I took a quick look at the stacktrace and b75122e but I'm not sure what's going on. I don't think anyone but the three of us have messed with this stuff. @poikilotherm might have some ideas for instrumenting the war with Maven rather than Ansible. I might even see him on Friday. I'll ask him what's in focus. 😄 |
@Purbin fixed =) though it's time for the gym. will doctor up later. |
#67 merge jacoco.exec files, generate report from result
à la http://guides.dataverse.org/en/latest/developers/testing.html#measuring-coverage-of-integration-tests
The text was updated successfully, but these errors were encountered: