/tools/nunit/NUnitTests.config
Unknown | 76 lines | 70 code | 6 blank | 0 comment | 0 complexity | e60a3215f81e1cb3d21b389ae9ce1579 MD5 | raw file
1<?xml version="1.0" encoding="utf-8" ?> 2<configuration> 3 <!-- 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. 6 7 In your own configuration file, the include any appSettings that you require. 8 The <NUnit> section is only needed if you want to use a non-default value 9 for any of the settings. 10 11 NOTE: A bug in .NET 2.0 Beta 2.0 requires that you make changes below 12 when running in that environment. This is supposed to be fixed in a 13 later release. 14 --> 15 <configSections> 16 <sectionGroup name="NUnit"> 17 <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler"/> 18 <section name="TestRunner" type="System.Configuration.NameValueSectionHandler"/> 19<!-- For .NET 2.0 Beta 2 replace the lines with the following --> 20<!-- 21 <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.50215.44, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 22 <section name="TestRunner" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.50215.44, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 23--> 24 </sectionGroup> 25 </configSections> 26 27 <appSettings> 28 <!-- User application and configured property settings go here.--> 29 <!-- Example: <add key="settingName" value="settingValue"/> --> 30 <add key="test.setting" value="54321" /> 31 </appSettings> 32 33 <NUnit> 34 <TestCaseBuilder> 35 <add key="OldStyleTestCases" value="false" /> 36 </TestCaseBuilder> 37 <TestRunner> 38 <!-- Valid values are STA,MTA. Others ignored. --> 39 <add key="ApartmentState" value="MTA" /> 40 41 <!-- See ThreadPriority enum for other valid values --> 42 <add key="ThreadPriority" value="Normal" /> 43 </TestRunner> 44 </NUnit> 45 46 <!-- 47 The following <runtime> section allows running nunit tests under 48 .NET 1.0 by redirecting assemblies. The appliesTo attribute 49 causes the section to be ignored except under .NET 1.0. 50 --> 51 <runtime> 52 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" 53 appliesTo="v1.0.3705"> 54 <dependentAssembly> 55 <assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="" /> 56 <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> 57 </dependentAssembly> 58 <dependentAssembly> 59 <assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="" /> 60 <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> 61 </dependentAssembly> 62 <dependentAssembly> 63 <assemblyIdentity name="System.Drawing" publicKeyToken="b03f5f7f11d50a3a" culture="" /> 64 <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> 65 </dependentAssembly> 66 <dependentAssembly> 67 <assemblyIdentity name="System.Windows.Forms" publicKeyToken="b77a5c561934e089" culture="" /> 68 <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> 69 </dependentAssembly> 70 <dependentAssembly> 71 <assemblyIdentity name="System.Xml" publicKeyToken="b77a5c561934e089" culture="" /> 72 <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> 73 </dependentAssembly> 74 </assemblyBinding> 75 </runtime> 76</configuration>