Hello.
I am attempting to unit test an ASP.NET MVC application using MonoDevelop.
The following shows a portion of my Web.config and the test.
<appSettings>
<add key="configCheck" value="3212"/>
</appSettings>
[Test]
public void ConfigFileCheck()
{
Assert.AreEqual( "3212", ConfigurationSettings.AppSettings["configCheck"] );
}
The unit test uses MonoDevelop's built in NUnit tool.
System information: -Monodevelop = 2.2.1 -Mono = Mono JIT compiler version 2.6.1 (tarball Thu Dec 17 10:19:23 MST 2009) Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com TLS: normal GC: Included Boehm (with typed GC) SIGSEGV: normal Notification: Thread + polling Architecture: x86 Disabled: none - Using Mac OS X
Any help you can offer would be greatly appreciated.
All the best!