You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "James (JIRA)" <ji...@codehaus.org> on 2008/04/11 00:35:58 UTC
[jira] Created: (CONTINUUM-1722) Test summary didn't show up on the
email summary with ant
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
[jira] Commented: (CONTINUUM-1722) Test summary didn't show up on
the email summary with ant
Posted by "MS (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (CONTINUUM-1722) Test summary didn't show up on the
email summary with ant
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated CONTINUUM-1722:
------------------------------------
Fix Version/s: 1.x
> 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