1
<?xml version="1.0" encoding="utf-8" ?>
4
This is the configuration file for the NUnitTests.nunit test project. You may
5
need to create a similar configuration file for your own test project.
9
The <NUnit> section is only needed if you want to use a non-default value
10
for any of the settings. It is commented out below. If you are going to use
11
it, you must deifne the NUnit section group and the sections you need.
13
The syntax shown here works for most runtimes. If NUnit fails at startup, you
14
can try specifying the name of the assembly containing the NameValueSectionHandler:
16
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System" />
18
If that fails, try the fully qualified name of the assembly:
20
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System,
21
Version=2.0.50727.832, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
23
Unfortunately, this last approach makes your config file non-portable across runtimes.
28
<sectionGroup name="NUnit">
29
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler"/>
30
<section name="TestRunner" type="System.Configuration.NameValueSectionHandler"/>
36
<!-- User application and configured property settings go here.-->
37
<!-- Example: <add key="settingName" value="settingValue"/> -->
38
<add key="test.setting" value="54321" />
41
<!-- Sample NUnit section group showing all default values -->
45
<add key="OldStyleTestCases" value="false" />
48
<add key="ApartmentState" value="MTA" />
49
<add key="ThreadPriority" value="Normal" />
55
The following <runtime> section allows running nunit tests under
56
.NET 1.0 by redirecting assemblies. The appliesTo attribute
57
causes the section to be ignored except under .NET 1.0.
60
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
61
appliesTo="v1.0.3705">
63
<assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="" />
64
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
67
<assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="" />
68
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
71
<assemblyIdentity name="System.Drawing" publicKeyToken="b03f5f7f11d50a3a" culture="" />
72
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
75
<assemblyIdentity name="System.Windows.Forms" publicKeyToken="b77a5c561934e089" culture="" />
76
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
79
<assemblyIdentity name="System.Xml" publicKeyToken="b77a5c561934e089" culture="" />
80
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />