Re: Problem running tests from a network share

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <01e101c88ab0$c0d1a0e0$6501a8c0@ferrari>
Following up on my first answer... I have set up automated build/test
processes
in quite a number of places and have never found it desireable to run the
tests
from a network share. Usually the perception of that need by the team turned
out to be based on some misunderstanding. That might not be so in your
case, but give it some thought.
 
Charlie


  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Butler, Tony
(London)
Sent: Thursday, March 20, 2008 3:17 AM
To: [email protected]
Subject: [Nunit-users] Problem running tests from a network share



Hi, 

I am trying to run nunit tests from a network share and it's just not
happening for me. 
I just run simply: 
Nunit-console.exe  <file://\\path\to\testassembly\testassembly.dll>
\\path\to\testassembly\testassembly.dll 

And I get: 

NUnit version 2.4.6
Copyright (C) 2002-2007 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A.
Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.
Runtime Environment -
OS Version: Microsoft Windows NT 5.2.3790 Service Pack 1
CLR Version: 2.0.50727.1433 ( Net 2.0.50727.1433 )
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an
object.
at NUnit.Util.ResultSummarizer..ctor(TestResult result)
at NUnit.Util.XmlResultVisitor.Initialize(TestResult result)
at NUnit.Util.XmlResultVisitor..ctor(TextWriter writer, TestResult result)
at NUnit.ConsoleRunner.ConsoleUi.CreateXmlOutput(TestResult result)
at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
at NUnit.ConsoleRunner.Runner.Main(String[] args) 

The tests all work fine if they are on a local drive.  I need to run nunit
under CruiseControl.NET and it needs to build on the network.

Can anyone advise on how to run networked tests? 

Many thanks in advance, 

Tony 

  _____  

This message w/attachments (message) may be privileged, confidential or
proprietary, and if you are not an intended recipient, please notify the
sender, do not use or share it and delete it. Unless specifically indicated,
this message is not an offer to sell or a solicitation of any investment
products or other financial product or service, an official confirmation of
any transaction, or an official statement of Merrill Lynch. Subject to
applicable law, Merrill Lynch may monitor, review and retain
e-communications (EC) traveling through its networks/systems. The laws of
the country of each sender/recipient may impact the handling of EC, and EC
may be archived, supervised and produced in countries other than the country
in which you are located. This message cannot be guaranteed to be secure or
error-free. This message is subject to terms available at the following
link: http://www.ml.com/e-communications_terms/. By messaging with Merrill
Lynch you consent to the foregoing.
  _____

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
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.