Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048563Retail ModulesRetail APIpublic2022-02-09 17:582022-02-14 13:45
caristu 
Triage Platform Conn 
highminorhave not tried
acknowledgedopen 
5
 
 
No
0048563: Redesign org.openbravo.api.tests module
Currently the org.openbravo.api.tests module contains all the test for the common, retail and retail api for giftcards test that tests import and export mappings and also the different export filters. Note that most of these tests depends on having sample data installed to be able to retrieve the data properly.

This module definition is far from ideal because:

- We have to add a new dependency to every new module that needs to test their mappings.
- We can't distribute the tests in the CI jobs that ideally should be run. Currently all the tests are being executed in a CI job that ensures that all the dependencies of the test module are met.
.
Split this test module in separate modules:

- org.openbravo.api.tests: with just the testing infrastructure.
- org.openbravo.retail.api.tests: with the tests for the retail api mappings
- org.openbravo.retail.api.giftcards.tests: with the tests for the retail api for giftcards mappings
- the same for the rest of the modules that define mappings

Note that we are separating these tests from their modules mainly because they need sampledata to be executed. And we do not want to add a depedency in those modules with any sampledata module because it does not make sense.
No tags attached.
related to feature request 0048366 closed caristu Split Retail API Infrastructure into a new module 
Issue History
2022-02-09 17:58caristuNew Issue
2022-02-09 17:58caristuAssigned To => Triage Platform Conn
2022-02-09 17:58caristuTriggers an Emergency Pack => No
2022-02-11 09:16caristuStatusnew => acknowledged
2022-02-11 09:17caristuRelationship addedrelated to 0048366
2022-02-14 13:45shuehnerIssue Monitored: shuehner

There are no notes attached to this issue.