Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1722

Test summary didn't show up on the email summary with ant

    XMLWordPrintableJSON

Details

    Description

      1. Created the ant project in continuum.

      2. Set the includeTestSummary and includeOutput to true in application.xml

      <includeBuildResult>true</includeBuildResult>
      <includeBuildSummary>true</includeBuildSummary>
      <includeTestSummary>true</includeTestSummary>
      <includeOutput>true</includeOutput>
      <alwaysSend>true</alwaysSend>

      3. Run the ant test build with JUnit:

      build.xml
      <target name="testsuite" depends="build" description="Run JUnit Test Suite">
      <junit printsummary="on" fork="yes" haltonfailure="off" haltonerror="off">
      <classpath refid="master-classpath"/>
      <formatter type="brief" usefile="false" />
      <test name="com.leapfile.ftstest.FTSTestSuite" />
      </junit>
      </target>

      Online report:

      Buildfile: build.xml

      build:

      testsuite:
      [junit] Running com.leapfile.ftstest.FTSTestSuite
      [junit] Testsuite: com.leapfile.ftstest.FTSTestSuite
      [junit] Tests run: 306, Failures: 0, Errors: 0, Time elapsed: 168.125 sec
      [junit] Tests run: 306, Failures: 0, Errors: 0, Time elapsed: 168.125 sec
      [junit]
      [junit] ------------- Standard Output ---------------
      [junit] JavaMailService 1.1
      [junit] - JavaMailService:smtpHost=secure.leapfile.com
      ...

      But the email summary:

      ****************************************************************************
      Build Defintion:
      ****************************************************************************
      Ant build filename: build.xml Goals: testsuite Arguments: Build Fresh: false
      Always Build: false
      Default Build Definition: true
      Schedule: DEFAULT_SCHEDULE
      Description: default ant buildDefinition

      ****************************************************************************
      Test Summary:
      ****************************************************************************
      Tests: 0
      Failures: 0
      Total time: 0.0

      Thanks.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jameshsw James
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: