Changeset 1313 for trunk/build.xml

Show
Ignore:
Timestamp:
01/31/08 00:53:46 (1 year ago)
Author:
mikey
Message:

finished refactoring #118: reorganize test suites:
phing test now runs default unit tests
phing test-integration runs integration tests
phing test-all runs both
phing test-report runs both and creates reports about code coverage, code metrics and pmd (requires xdebug)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build.xml

    r1261 r1313  
    4141  </target> 
    4242 
    43   <target name="test-new" description="run test suite"> 
     43  <target name="test-report" description="run test suite"> 
    4444    <if> 
    4545      <isset property="package" /> 
    4646      <then> 
    47         <phing phingfile="${build.base.dir}/${package}/build.xml" target="test-new" /> 
     47        <phing phingfile="${build.base.dir}/${package}/build.xml" target="test-report" /> 
    4848      </then> 
    4949      <else> 
    50         <phing phingfile="${build.base.dir}/stubbles/build.xml" target="test-new" /> 
     50        <phing phingfile="${build.base.dir}/stubbles/build.xml" target="test-report" /> 
    5151      </else> 
    5252    </if> 
     
    7171  <target name="test-all" depends="check-style, test, test-integration" description="Runs all available checks and tests."/> 
    7272 
    73   <target name="clearCache" description="Clears all cache files."> 
     73  <target name="clear-cache" description="Clears all cache files."> 
    7474    <delete file="${stubbles.base.dir}/lib/.cache" verbose="true"/> 
    7575    <delete>