Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0046485Openbravo ERPA. Platformpublic2021-05-04 14:442021-11-30 11:23
alostale 
platform 
normalminorhave not tried
closedfixed 
5
 
PR21Q3 
Core
No
0046485: clean up main jUnit test suites
Currently there are 4 main test suites under org.openbravo.test package:
 * Run in CI:
   - AllAntTaskTests: ant run.all.tests
   - AllWebserviceTests: ant run.webservice.tests
 * Not run in CI:
   - AntTaskTests: ant run.tests
   - AllQuickAntTaskTests: ant run.quick.tests
   - AllTests: not ant task

Having 5 suites with unclear intents each of them makes it hard to maintain. Also it is unclear what is the purpose of those suites which are not executed as part of the UI.
-
* Remove the following suites as they are not executed in CI
   - AntTaskTests
   - AllQuickAntTaskTests
   - AllTests

* Remove the following ant tasks as they are not executed in CI
   - run.tests
   - run.quick.tests

* Rename the following suites to make clearer their goal, maintaining the ant task names invoking them
   - AllAntTaskTests -> StandaloneTestSuite
   - AllWebserviceTests -> WebserviceTestSuite
No tags attached.
related to defect 0033554 scheduled Triage Platform Base Openbravo ERP some test cases not executed in CI 
related to feature request 0048176 closed caristu Retail Modules missing jUnit standard CI test suites 
Issue History
2021-05-04 14:44alostaleNew Issue
2021-05-04 14:44alostaleAssigned To => platform
2021-05-04 14:44alostaleModules => Core
2021-05-04 14:44alostaleTriggers an Emergency Pack => No
2021-05-04 14:47alostaleProposed Solution updated
2021-05-04 15:04hgbotNote Added: 0127771
2021-05-05 09:56alostaleRelationship addedrelated to 0033554
2021-05-05 10:30shuehnerIssue Monitored: shuehner
2021-05-07 07:56hgbotResolutionopen => fixed
2021-05-07 07:56hgbotStatusnew => closed
2021-05-07 07:56hgbotNote Added: 0127877
2021-05-07 07:56hgbotFixed in Version => PR21Q3
2021-05-07 07:56hgbotNote Added: 0127878
2021-05-11 08:26hgbotNote Added: 0127979
2021-05-11 08:26hgbotNote Added: 0127980
2021-05-11 08:26hgbotNote Added: 0127981
2021-05-11 08:31hgbotNote Added: 0127982
2021-05-11 08:32hgbotNote Added: 0127983
2021-05-11 08:32hgbotNote Added: 0127984
2021-11-30 11:23caristuIssue cloned0048176
2021-11-30 11:23caristuRelationship addedrelated to 0048176

Notes
(0127771)
hgbot   
2021-05-04 15:04   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/356 [^]
(0127877)
hgbot   
2021-05-07 07:56   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/356 [^]
(0127878)
hgbot   
2021-05-07 07:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 8ad7ea000ce77f1a92d23c8a0481e25f7e724c9d
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-05-06T13:21:46+02:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/8ad7ea000ce77f1a92d23c8a0481e25f7e724c9d [^]

fixes FR-46485: clean up main jUnit test suites

This commit:

* Removes the following suites as they are not executed in CI
   - AntTaskTests
   - AllQuickAntTaskTests
   - AllTests

* Removes the following ant tasks as they are not executed in CI
   - run.tests
   - run.quick.tests

* Renames the following suites to make clearer their goal, maintaining the ant task names invoking them
   - AllAntTaskTests -> StandaloneTestSuite
   - AllWebserviceTests -> WebserviceTestSuite

---
A src-test/src/org/openbravo/test/StandaloneTestSuite.java
A src-test/src/org/openbravo/test/WebserviceTestSuite.java
M build.xml
M src-test/build.xml
R src-test/src/org/openbravo/test/AllQuickAntTaskTests.java
R src-test/src/org/openbravo/test/AllTests.java
R src-test/src/org/openbravo/test/AntTaskTests.java
---
(0127979)
hgbot   
2021-05-11 08:26   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.service.external.integration.tests/-/merge_requests/1 [^]
(0127980)
hgbot   
2021-05-11 08:26   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.service.external.integration.tests [^]
Changeset: 76baf69aa409a63531d9c998758816340acb4453
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-05-11T08:25:20+02:00
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.service.external.integration.tests/-/commit/76baf69aa409a63531d9c998758816340acb4453 [^]

related to FR-46485: adds tests to CI test suite

---
A src-test/org/openbravo/service/external/integration/tests/StandaloneTestSuite.java
---
(0127981)
hgbot   
2021-05-11 08:26   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.service.external.integration.tests/-/merge_requests/1 [^]
(0127982)
hgbot   
2021-05-11 08:31   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc/-/merge_requests/2 [^]
(0127983)
hgbot   
2021-05-11 08:32   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc [^]
Changeset: aa82ccbb1c30e85bf8339d327a6c7448d7ce9b44
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-05-11T08:31:32+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc/-/commit/aa82ccbb1c30e85bf8339d327a6c7448d7ce9b44 [^]

related to FR-46485: adds tests to CI test suite

---
A src-test/org/openbravo/service/integration/sapecc/StandaloneTestSuite.java
---
(0127984)
hgbot   
2021-05-11 08:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc/-/merge_requests/2 [^]