Re: Junits dont run

Jeffrey Fredrick <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
You'll need to modify your Ant build.xml and update JUnit task to use the
xml formatter.

http://ant.apache.org/manual/Tasks/junit.html

Jtf


On Tue, Nov 9, 2010 at 8:07 AM, jp_listero <[email protected]> wrote:

> How I do that ?
>
> "Perhaps the JUnit results are not being captured correctly. Ensure
> that your <junit> ant task contains the proper formatting directive to
> instruct JUnit to output the results in XML format: <formatter
> type="xml"/>. If you are directing JUnit to send output to a
> subdirectory, make sure to tell CC about it - use the <merge> element
> in the <log> section of your config.xml."
>
> I'm using Netbeans 6.8 and JUnit 4.5
>
> thanks a lot!
>
> 2010/11/9 Jeffrey Fredrick <[email protected]>:
> >
> > You might also make sure you have Ant configured so that the junit task
> > creates xml output:
> > http://cruisecontrol.sourceforge.net/faq.html#nojunit
> > Jtf
> >
> > On Mon, Nov 8, 2010 at 9:35 AM, Amit Kumar <[email protected]>
> wrote:
> >>
> >> Try pointing the log > merge to correct junit report directorylike this
> >> <log>
> >>             <merge dir="projects/${project.name}/testreport/"/>
> >> </log>
> >>
> >> Amit
> >> On Mon, Nov 8, 2010 at 9:12 AM, jp_listero <[email protected]> wrote:
> >>>
> >>> Hi, I'm very new with cruise control. I'm using netbeans ... and I
> >>> have a Suit Case with some JUnits ...
> >>> My problem is that the Test Suits doesnt run in the crusier control
> >>> ... The build is fine, also in the tab of Test, it say "No test cases
> >>> found".
> >>>
> >>> someone can help me ?
> >>>
> >>> thranks!
> >>>
> >
> >
> > --
> > CITCON
> > Continuous Integration and Testing Conference
> > http://www.citconf.com/
> >
> >
> ------------------------------------------------------------------------------
> > 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
> >
> >
>
>
> ------------------------------------------------------------------------------
> 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
>



-- 
CITCON
Continuous Integration and Testing Conference
http://www.citconf.com/

------------------------------------------------------------------------------
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.