unit-api
                                
                                
                                
                                    unit-api copied to clipboard
                            
                            
                            
                        Improve code coverage of ServiceProvider
At the moment ServiceProvider has a lower code coverage which affects the overall metrics for the project. Should be above 80% for Sonatype.
While the new annotations or also existing javax ones can be tested via extension modules or the RI there are no tests here.
Either ServiceProvider should be excluded from JacoCo or we get a test in here that also tests those annotations.
Haven't been here for a while, but after some playing around and reviewing I've a strategy to improve coverage, so there will be a PR soon for discussion.
Note: pull request #242 (if accepted) should probably be merged before to work on test coverage.
With the latest PRs up to #251 the coverage has gone up to nearly 90%. We may never get to 100, but that is a pretty good improvement and also marked in green, hence closing this ticket.