continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MS (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1722) Test summary didn't show up on the email summary with ant
Date Thu, 05 Mar 2009 10:13:12 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167977#action_167977
] 

MS commented on CONTINUUM-1722:
-------------------------------

Something simple like attaching report file generated by ant to sended email should be enough.

> 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
>             Fix For: 1.x
>
>
> 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

        

Mime
View raw message