The Nant log doesn't report any reason for the failure...

<task name="call">
      <target name="run_tests">
        <task name="nunit2">
...#some testing output here that just reflects good results
<duration>2074070.7533</duration>
        </task>
        <duration>2074102.0069</duration>
      </target>
      <duration>2074117.6337</duration>
    </task>
    <duration>3327604.2831</duration>
  </target>
  <task name="call">
    <target name="failure">
....
<type>NAnt.Core.BuildException</type>
      <message><![CDATA[Tests Failed.]]></message>
      <location>
 
<filename>D:\TSbuild\checkout\mod\CommonControls.debug.build</filename>
        <linenumber>24</linenumber>
        <columnnumber>4</columnnumber>
      </location>
      <stacktrace><![CDATA[   at
NAnt.NUnit2.Tasks.NUnit2Task.ExecuteTask()
   at NAnt.Core.Task.Execute()

I've just removed the ignored tests to see if they caused the problem
(the error only started when I did ignore the tests) I was wondering if
the problem might be because all 4 tests that were ignored were
outputting the same message.... clutching at straws

Owen Evans

=======================================================
Owen Evans, Developer/Tester, Cresta Group Ltd
Mobile:         +44 (0)79 21761557             Direct:     +44 (0)20
7448 4635
Office:          +44 (0)20 7448 4620             Fax:        +44 (0)20
7448 4651
Email:          [EMAIL PROTECTED]
Address:      120 Moorgate, London, EC2M 6SS, UK.
Web Site:     http://www.cresta.net
=======================================================

-----Original Message-----
From: Owen Rogers [mailto:[EMAIL PROTECTED] 
Sent: 28 September 2005 14:16
To: Owen Evans
Subject: Re: [Nant-users] nunit2 task failing but all tests pass

hi owen,

On 28/09/05, Owen Evans <[EMAIL PROTECTED]> wrote:
> Any idea why this might be... is it disliking the 4 ignored tests? I'm
not
> entirely sure how to fix this and I need to without marking the tests
as not
> ignored

i don't believe that the 4 ignored tests are responsible for the test
breaking.  what does the xml log produced by nant say?  ie. is the
"Tests Failed" message associated with the <nunit2> task that is
failing -- or that you are including the results from?

cheers,
owen.
--
Owen Rogers | http://dotnetjunkies.com/weblog/exortech |
CruiseControl.NET - http://ccnet.thoughtworks.com




This email and any attachments are confidential and intended solely for the use 
of the individual or entity to whom they are addressed.  If you are not the 
intended recipient please do not disclose, copy or take any action in reliance 
on it.  If you have received this message in error please tell us by reply or 
telephone +44 (0)20 7448 4620 and delete all copies on your system.  Any 
opinion, advice or information in this email are not necessarily those of the 
owners or officers of Cresta. 
 
Cresta have taken reasonable precautions to ensure that any attachment to this 
e-mail has been swept for viruses.  However, we cannot accept liability for any 
damage sustained as a result of software viruses and would advise that you 
carry out your own virus checks before opening any attachment.  Please note 
that communications sent by or to any person through our computer systems may 
be viewed by other Cresta employees or officers, strictly in accordance with 
applicable law.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to