Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0036663 | Openbravo ERP | Z. Others | public | 2017-08-17 17:03 | 2017-09-21 16:49 |
Reporter | markmm82 | ||||
Assigned To | markmm82 | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR17Q4 | |||
Merge Request Status | |||||
Review Assigned To | aferraz | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0036663: TaxesText junit test does 2.400 junit skip all the time | ||||
Description | TaxesTest is parametrized junit test-case. So some individual test-case will get called several times with different data. For this the class contains the big param function defining 200 lines of data. Then for each of the lines 4 individual junit testcase-types are run: - testSalesOrder - testPurchaseOrder - testSalesInvoice - testPurchaseInvoice It just runs those 4 together so in the following treated as one block. Total testcases to run 800. However: of the 200 data lines each of those has 2 'flags: technically boolean values as part of the data a.) isPriceIncludingTaxes b.) isTaxDocumentLevel For all 4 combination of those 2 booleans (ff, ft, tf, tt) there exist separate junit testcases (1 copy of the 4 above). Note there is no overlap. So for each of the 200 data lines 3 group say -> not for me -> SKIP -> 3*800 = 2400 skip 1 group says -> for me and runs 1*800 = 800 test-cases run As there is 0 overlap between the 200 data-lines they can be just split into 4 groups matching the 4 groups of tests. So each gets 'its' lines but not the others -> 2.4k skip gone. It is needed only run those 800 tests and avoid those 2400 skip. | ||||
Steps To Reproduce | Run TaxesText and you will see the 2400 skip | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-08-17 17:03 | markmm82 | New Issue | |||
2017-08-17 17:03 | markmm82 | Assigned To | => markmm82 | ||
2017-08-17 17:03 | markmm82 | OBNetwork customer | => No | ||
2017-08-17 17:03 | markmm82 | Modules | => Core | ||
2017-08-17 17:03 | markmm82 | Triggers an Emergency Pack | => No | ||
2017-08-18 09:38 | hgbot | Checkin | |||
2017-08-18 09:38 | hgbot | Note Added: 0098537 | |||
2017-08-18 09:38 | hgbot | Status | new => resolved | ||
2017-08-18 09:38 | hgbot | Resolution | open => fixed | ||
2017-08-18 09:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6700912c8eec76b63dfad40e53e93ecf992bf124 [^] | ||
2017-08-18 09:39 | hgbot | Checkin | |||
2017-08-18 09:39 | hgbot | Note Added: 0098538 | |||
2017-08-18 09:41 | aferraz | Review Assigned To | => aferraz | ||
2017-08-18 09:41 | aferraz | Note Added: 0098539 | |||
2017-08-18 09:41 | aferraz | Status | resolved => closed | ||
2017-08-18 09:41 | aferraz | Fixed in Version | => 3.0PR17Q4 | ||
2017-09-21 16:49 | hudsonbot | Checkin | |||
2017-09-21 16:49 | hudsonbot | Note Added: 0099313 | |||
2017-09-21 16:49 | hudsonbot | Checkin | |||
2017-09-21 16:49 | hudsonbot | Note Added: 0099314 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|