Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026116Openbravo ERPA. Platformpublic2014-03-27 18:342014-04-01 09:16
gorka_gil 
gorka_gil 
normalminoralways
closedfixed 
5
 
3.0PR14Q2 
alostale
Core
No
0026116: run.webservice.tests don't generate a result file and also stops on any error
Other junit tests generate a src/result.xml that can be published in jenkins jobs.

Would be interesting that webservice.tests also creates one.

Also would be interesting that don't stop on errors so will output all the errors instead one.
ant run.webservice.tests

Don't generate a result file inside src folder.

Also in case of one error will not continue.
Modifify the src/build.xml to this:

<target name="run.webservice.tests"
depends="compileSqlc,generate.entities.quick">

    <copy todir="${build}">
      <fileset dir="${base.src.test}" includes="**/*.xml" />
    </copy>

    <junit printsummary="yes" haltonfailure="yes">
      <classpath refid="project.class.path" />
      <formatter type="plain" usefile="no"/>
      <test name="org.openbravo.test.AllWebserviceTests"
haltonfailure="no" outfile="resultws">
      <formatter type="xml" />
      </test>
    </junit>
  </target>
No tags attached.
related to feature request 00260693.0PR14Q2 closed alostale run.webservice.tests has the openbravo url hardcoded 
related to defect 00260883.0PR14Q2 closed alostale run.webservice.tests fails 
Issue History
2014-03-27 18:34gorka_gilNew Issue
2014-03-27 18:34gorka_gilAssigned To => gorka_gil
2014-03-27 18:34gorka_gilModules => Core
2014-03-27 18:34gorka_gilTriggers an Emergency Pack => No
2014-03-27 18:34gorka_gilReview Assigned To => alostale
2014-03-27 18:34gorka_gilStatusnew => scheduled
2014-03-31 17:16hgbotCheckin
2014-03-31 17:16hgbotNote Added: 0065627
2014-03-31 17:16hgbotStatusscheduled => resolved
2014-03-31 17:16hgbotResolutionopen => fixed
2014-03-31 17:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/66366aabc392fa69ed58ddef74f7a43e0fbfb9db [^]
2014-03-31 17:19gorka_gilRelationship addedrelated to 0026069
2014-03-31 17:19gorka_gilRelationship addedrelated to 0026088
2014-03-31 18:26alostaleNote Added: 0065631
2014-03-31 18:26alostaleStatusresolved => closed
2014-03-31 18:26alostaleFixed in Version => PR14Q2
2014-04-01 09:16hudsonbotCheckin
2014-04-01 09:16hudsonbotNote Added: 0065640

Notes
(0065627)
hgbot   
2014-03-31 17:16   
Repository: erp/devel/pi
Changeset: 66366aabc392fa69ed58ddef74f7a43e0fbfb9db
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Mar 31 11:43:26 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/66366aabc392fa69ed58ddef74f7a43e0fbfb9db [^]

fixed issue 26116: run.webservice.tests new features

  - generate a src/resultws.xml file
  - don't stop on errors

---
M src/build.xml
---
(0065631)
alostale   
2014-03-31 18:26   
code reviewed
(0065640)
hudsonbot   
2014-04-01 09:16   
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/648c4d0c52f8 [^]
Maturity status: Test