Code Coverage of spacewalk-java aka Suma Server after a full TestSuite execution
a project by oscar-barrios
a project by oscar-barrios
Updated
over 1 year
ago.
1 hackers ♥️.
1 follower.
Project Description
GitHub Card: https://github.com/SUSE/spacewalk/issues/8583
The idea is put in place a test coverage tool like JaCoCo, JCov or Cobertura, connected to the java server and run the full test suite, to see which blocks of code are triggered. We already are using some test coverage tool for java unit tests, this card aims to be a spike to research about running Cucumber test with a test coverage tool.
Goal for this Hackweek
- Find features not fully covered through our test-suite
- Discover obsolete code (methods or classes), which are never triggered in any workflow.
- Generate a map of features and files(or even piece of code that cover), with the idea of doing reverse engineering and be able to know which Cucumber feature can be broken when we merge a PR.
Outcome
- From one side we can improve our test coverage in the test suite to cover those functionalities in the suma server (spacewalk-java component) that we are not testing.
- From the other side it will allow us to know (on suma-server code) which classes or methods are never triggered, helping to clean product code.
Looking for hackers with the skills:
This project is part of:
Hack Week 22
Activity
Comments
Be the first to comment!
Similar Projects
This project is one of its kind!