Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
 Test Case #:844

Test Case Name:Fix integration tests

System: OpenLMIS

Subsystem:requisition

Test case designed by: Paulina Borowa

Design Date:17.0507.2016

Short description

There is small issue with integration test. Depends of tests order execution we face some errors (org.springframework.dao.DataIntegrityViolationException) connected with database. Very likely this issue is caused by some garbage data from previous tests which is not removed from database. In order to fix this issue, please ensure that after every integration test database is cleaned properly.

      

Pre – conditions:

                                                                                                                                                                                                                                                       


Step 

Action

Expected system response

Comment

1

                 

Launch gradle Clean command.

                                                                                                                                                      

                                                                                                                              
 Build successful status is returned.                                                  

2

Launch gradle build command.

Build successful status is returned.

 

3

Launch gradle integrationTest command.Build successful status is returned.

 

4
    
5