Re: Cruisecontrol not showing test results

Amit Kumar <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Absolutely ... I found the solution.
I did change the build.xml to reflect this.
Thanks for replying.

On Tue, Nov 2, 2010 at 4:16 PM, Jeffrey Fredrick <[email protected]
> wrote:

>
> This is fixed now I am facing that iven if a test fails it is showing all
>> passed.
>
>
> I'm guessing you need to have your build fail if there's a test failure:
>
> http://confluence.public.thoughtworks.org/display/CC/FailOnTestFailure
>
>
> Jtf
>
>
> On Mon, Nov 1, 2010 at 1:34 PM, Amit Kumar <[email protected]> wrote:
>
>> I could resolve the issue
>> Issue was <bootstrappers> and <schedule> both have ant abut pointing
>> different targets. basically it was deleting the testreport directory.
>> This is fixed now I am facing that iven if a test fails it is showing all
>> passed.
>>
>>   On Mon, Nov 1, 2010 at 2:57 PM, Amit Kumar <[email protected]>wrote:
>>
>>> Hi All,
>>> I am using CC 2.8 After running the build in the result page it is
>>> showing
>>> there is no test <http://www.javaranch.com/unit-testing.jsp> run. But I
>>> have 2 test cases to run. And both test cases run successfully when the
>>> build runs by cruise control.
>>> Following is my config file
>>> <Cruisecontrol>
>>> <project name="MyFerEJB" buildafterfailed="true">
>>> <listeners>
>>> <currentbuildstatuslistener
>>> file="logs/${project.name}/status.txt"/>
>>> </listeners>
>>>
>>> <bootstrappers>
>>> <antbootstrapper anthome="apache-ant-1.7.0"
>>> buildfile="projects/${project.name}/build.xml" target="cover-test"/>
>>> </bootstrappers>
>>>
>>> <modificationset quietperiod="300" >
>>> <!-- touch any file in project to trigger a build -->
>>> <filesystem folder="projects/${project.name}/ejbModule"/>
>>> </modificationset>
>>>
>>> <schedule interval="30">
>>> <ant anthome="apache-ant-1.7.0"
>>> buildfile="projects/${project.name}/build.xml"/>
>>> </schedule>
>>>
>>> <log>
>>> <merge
>>> dir="projects/${project.name}/cobertura/reports/junit-xml"/>
>>> </log>
>>>
>>> <publishers>
>>> <onsuccess>
>>> <artifactspublisher dest="artifacts/${project.name}"
>>> file="projects/${project.name}/${project.name}.jar"/>
>>> </onsuccess>
>>> </publishers>
>>>
>>> </project>
>>> </cruisecontrol>
>>> Any pointer will help. Thanks in advance.
>>> Thanks
>>> Amit
>>>
>>
>
> --
> CITCON
> Continuous Integration and Testing Conference
> http://www.citconf.com/
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.