intuit / CloudRaider

A resiliency tool that automates Failure mode effect analysis tests, simplifying complex testing with a behavior-driven development and testing approach. Provides a programmatic way to execute controlled failures in AWS and a BDD way to write test cases, allowing test plans themselves to become test cases that can be executed as is.
Apache License 2.0
30 stars 21 forks source link

Include test coverage measurement & reporting tools #38

Open rattandeep1998 opened 1 year ago

rattandeep1998 commented 1 year ago

Add required tools to report and measure test coverage and put it back as label/hook on README.

vaisrinivasan commented 1 year ago

I will take a look at this and explore on this. Please assign it to me.

vaisrinivasan commented 1 year ago

@rattandeep1998 : I see that Jacoco is already added in pom.xml. Can you please explain what other tool should be added as part of this issue? If nothing else is there to be added, there's currently an error coming while running the build and the jacoco report. I can fix the issues and then add the path to report in the README file. I can do the above changes as part of this PR. Let me know.

rattandeep1998 commented 1 year ago

@vaisrinivasan Thanks for the investigation. We are looking for a way to run the tests as a part of pipeline (more details under https://github.com/intuit/CloudRaider/issues/39) and add a hook for that CI test reports on the Readme. We might not have to push the entire jacoco report to remote.

vaisrinivasan commented 1 year ago

@rattandeep1998 : Sure. I've removed the entire report. So as part of this PR, I've fixed a couple of issues while running the jacoco report. Since there's a separate issue for CI/CD + hook for the report, I think this PR is good to be merged and the issue closed? Let me know if there's anything else to be done as part of this PR. Thanks.