resultproperty stores what the program returned. Typically it would be 0 if all
tests passed or a number > 0 if tests failed - the number being how many failed.
Eventually you'll probably want the test results in xml form so you can
transform it into the CC.net emails.
When you get there I can
Thanks!
I'm using CxxTest, not CppUnit, but your example will work since I have a *.exe
file to run. I'll have to look further what resultproperty and how I can fit it
in my environment.
-chris
From: Adam Bruss [mailto:abr...@awrcorp.com]
Sent: 2011-10-05 17:14
To: Chris Fouts; nant-users@list
Yes using an task.
For example:
Replace analyst.exe with your own executable which is setup with Cppunit to run
unittests. Here is a tutorial on setting up Cppunit. I think you should go
through this first.
http://www.cs.nmsu.edu/~jeffery/courses/371/cppunit/money_example.
Yes, I'm using CruiseControl.NET and Nant in my case.
So when you say you have Nant run your executable with a certain flag, you mean
in an task block?
-chris
From: Adam Bruss [mailto:abr...@awrcorp.com]
Sent: 2011-09-30 16:54
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] FW: Nant