The Artima Developer Community
Sponsored Link

.NET Buzz Forum
NUnit and environment variable troubles

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Darrell Norton

Posts: 876
Nickname: dnorton
Registered: Mar, 2004

Darrell Norton is a consultant for CapTech Ventures.
NUnit and environment variable troubles Posted: May 28, 2004 7:34 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Darrell Norton.
Original Post: NUnit and environment variable troubles
Feed Title: Darrell Norton's Blog
Feed URL: /error.htm?aspxerrorpath=/blogs/darrell.norton/Rss.aspx
Feed Description: Agile Software Development: Scrum, XP, et al with .NET
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Darrell Norton
Latest Posts From Darrell Norton's Blog

Advertisement

Lance Ahlberg was running into an Argument Exception when using NUnit. See how he fixed it:

I have been getting an argument exception with details “Absolute path information required”, this exception was happening when I was running Tests with Nunit.

After almost pulling my hair out the problem was found, Environment variables....

Nunit caches the assemblies that are being tested in the temp directory, and uses the TEMP environment variable.  Of course my TEMP environment variable was a relative path.

So the moral is, if you see Absolute path information is required take a look at your environment variables and ensure that they are absolute.


This Blog Hosted On: http://www.DotNetJunkies.com/

Read: NUnit and environment variable troubles

Topic: India Advocates Day Previous Topic   Next Topic Topic: Back button in ASP.NET

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use