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

                 Key: CONTINUUM-1722
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1722
             Project: Continuum
          Issue Type: Bug
          Components: Notification Subsystem
    Affects Versions: 1.1
         Environment: window
            Reporter: James


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to