Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041777
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformtrivialhave not tried2019-09-06 14:212019-09-10 19:28
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR19Q4
StatusclosedFix in branchFixed in SCM revision0b2a423a8286
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041777: add an annotation to link test cases with issues

DescriptionMany test cases are written after an issue is reported, there is no a common convention on how to link the test to the reported issue, typically this is done through comments or, in some cases, by adding the issue number to the method name.
Steps To Reproduce-
Proposed SolutionCreate a new @Issue annotation that allows to annotate test cases so that they are linked to the issue.

Ie.

public class SomeRegressionTest {
  @Test @Issue("issueNumber")
  public void thingsShouldWork() {...}
}
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
causes defect 0044768 closedalostale cannot compile DBSM tests from cli 

-  Notes
(0114437)
hgbot (developer)
2019-09-06 14:25

Repository: erp/devel/pi
Changeset: 0b2a423a828648560052db9f83361a458dae8491
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Sep 06 14:24:52 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0b2a423a828648560052db9f83361a458dae8491 [^]

fixes issue 41777: add an annotation to link test cases with issues

---
A src-test/src/org/openbravo/test/base/Issue.java
---
(0114438)
hgbot (developer)
2019-09-06 15:03

Repository: erp/devel/pi
Changeset: d29abdc3c42c51af577cd0bfd43ae458f32432cc
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Sep 06 15:02:19 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d29abdc3c42c51af577cd0bfd43ae458f32432cc [^]

related to issue 41777: replaced comments with @Issue annotation

  The goal is to use a more consistent way to link test cases with issue tracker.

---
M modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/ADCSTest.java
M modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/PersistanceObserver.java
M src-test/src/org/openbravo/client/kernel/CSSMinifier.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/CopyLinesFromOrdersTest.java
M src-test/src/org/openbravo/test/dal/ADCachedMultiThreadTest.java
M src-test/src/org/openbravo/test/dal/AdminContextTest.java
M src-test/src/org/openbravo/test/dal/DalConnectionProviderTest.java
M src-test/src/org/openbravo/test/dal/IssuesTest.java
M src-test/src/org/openbravo/test/dal/OBContextTest.java
M src-test/src/org/openbravo/test/dal/ViewTest.java
M src-test/src/org/openbravo/test/datasource/EmptyStringWhereAndFilterClauseParameter.java
M src-test/src/org/openbravo/test/datasource/FICTest.java
M src-test/src/org/openbravo/test/datasource/FKDropDownDatasource.java
M src-test/src/org/openbravo/test/datasource/FetchDSNoActiveEntityObjects.java
M src-test/src/org/openbravo/test/datasource/OrganizationSelectorDataSourceTest.java
M src-test/src/org/openbravo/test/datasource/TestAllowUnpagedDatasourcePreference.java
M src-test/src/org/openbravo/test/datasource/TestCSVEncoding.java
M src-test/src/org/openbravo/test/datasource/TestComboDatasource.java
M src-test/src/org/openbravo/test/db/model/functions/SqlCallableStatement.java
M src-test/src/org/openbravo/test/expression/EvaluationTest.java
M src-test/src/org/openbravo/test/model/RuntimeModelTest.java
M src-test/src/org/openbravo/test/reporting/JasperReportsCompilation.java
M src-test/src/org/openbravo/test/security/WritableReadableOrganizationClientTest.java
M src-test/src/org/openbravo/test/system/CryptoUtilities.java
M src-test/src/org/openbravo/test/system/Issue29934Test.java
M src-test/src/org/openbravo/test/webservice/JSONWebServices.java
M src-test/src/org/openbravo/test/webservice/WSAddRecordWithComputedColumns.java
M src-test/src/org/openbravo/test/webservice/WSUpdateTest.java
M src-test/src/org/openbravo/test/webservice/WSWithNoActiveDalObjects.java
M src-test/src/org/openbravo/test/xml/DatasetExportTest.java
M src-test/src/org/openbravo/test/xml/EntityXMLImportTestBusinessObject.java
---
(0114439)
hgbot (developer)
2019-09-06 15:06

Repository: erp/devel/pi
Changeset: 4f48c788a19a7a48ff69ee1b9406a88f09469cbe
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Sep 06 15:06:17 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4f48c788a19a7a48ff69ee1b9406a88f09469cbe [^]

related to issue 41777: removed some wrong annotations

---
M src-test/src/org/openbravo/client/kernel/CSSMinifier.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/CopyLinesFromOrdersTest.java
---
(0114443)
hudsonbot (developer)
2019-09-06 19:27

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f144a223757b [^]
Maturity status: Test
(0114490)
caristu (developer)
2019-09-10 11:58

Reviewed
(0114514)
hudsonbot (developer)
2019-09-10 19:28

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/34e5cbc290bf [^]
Maturity status: Test
(0114515)
hudsonbot (developer)
2019-09-10 19:28

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/34e5cbc290bf [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2019-09-06 14:21 alostale New Issue
2019-09-06 14:21 alostale Assigned To => platform
2019-09-06 14:21 alostale Modules => Core
2019-09-06 14:21 alostale Triggers an Emergency Pack => No
2019-09-06 14:22 alostale Assigned To platform => alostale
2019-09-06 14:22 alostale Review Assigned To => caristu
2019-09-06 14:25 hgbot Checkin
2019-09-06 14:25 hgbot Note Added: 0114437
2019-09-06 14:25 hgbot Status new => resolved
2019-09-06 14:25 hgbot Resolution open => fixed
2019-09-06 14:25 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0b2a423a828648560052db9f83361a458dae8491 [^]
2019-09-06 15:03 hgbot Checkin
2019-09-06 15:03 hgbot Note Added: 0114438
2019-09-06 15:06 hgbot Checkin
2019-09-06 15:06 hgbot Note Added: 0114439
2019-09-06 19:27 hudsonbot Checkin
2019-09-06 19:27 hudsonbot Note Added: 0114443
2019-09-10 11:58 caristu Note Added: 0114490
2019-09-10 11:58 caristu Status resolved => closed
2019-09-10 11:58 caristu Fixed in Version => 3.0PR19Q4
2019-09-10 19:28 hudsonbot Checkin
2019-09-10 19:28 hudsonbot Note Added: 0114514
2019-09-10 19:28 hudsonbot Checkin
2019-09-10 19:28 hudsonbot Note Added: 0114515
2020-08-07 07:10 alostale Relationship added causes 0044768


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker