/
844: Fix integration tests

844: Fix integration tests

 Test Case #:844

Test Case Name:Fix integration tests

System: OpenLMIS

Subsystem:requisition

Test case designed by: Paulina Borowa

Design Date:17.07.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.

 

Related content

Test Strategy
Test Strategy
Read with this
900:Fix integration tests after deleteAll() cleanup
900:Fix integration tests after deleteAll() cleanup
More like this
Testing Templates
Testing Templates
Read with this
Service Migration Tests
Service Migration Tests
More like this
848: Sonar: integration tests not included in coverage
848: Sonar: integration tests not included in coverage
More like this
591: RESTful web service testing setup
591: RESTful web service testing setup
More like this

OpenLMIS: the global initiative for powerful LMIS software