848: Sonar: integration tests not included in coverage

 Test Case #:848

Test Case Name:Sonar: integration tests not included in coverage

System: OpenLMIS

Subsystem:

Test case designed by: Paulina Borowa

Design Date:10.08.2016

Short description: The openlmis-requisition project in Sonar shows curious and incorrect data for coverage.  The "integration" tests category shows zero tests, which is not true.  Unit tests register as one.  The coverage (jacacco?) is not configured correctly.  [~joshzamor] suspects the directory structure separating out test code is contributing to this.

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       


 Step

Action

Expected system response

Comment

1

    Go to Jenkins. Select Project OpenLMIS-requisition-service-Sonar and create a new build                                         

Build status: success   

                                                                                                                        

                                                 

2

Check on sonar.openlmis.org → Projects → OpenLMIS Requisition

 test coverage

 

 Should be more than 70%

OpenLMIS: the global initiative for powerful LMIS software