Skip to content

Commit a91c365

Browse files
committed
Tests: Run NUnit GUI when test projects are started in debugger.
1 parent 877ede4 commit a91c365

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

src/NHibernate.Test.VisualBasic/NHibernate.Test.VisualBasic.vbproj

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
<MyType>Windows</MyType>
1616
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
1717
<TargetFrameworkProfile />
18+
<StartAction>Program</StartAction>
19+
<StartProgram>$(MSBuildProjectDirectory)\..\..\Tools\nunit\nunit-x86.exe</StartProgram>
20+
<StartArguments>NHibernate.Test.VisualBasic.dll</StartArguments>
1821
</PropertyGroup>
1922
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2023
<DebugSymbols>true</DebugSymbols>
@@ -109,6 +112,7 @@
109112
<CustomToolNamespace>My</CustomToolNamespace>
110113
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
111114
</None>
115+
<None Include="NHibernate.Test.VisualBasic.build" />
112116
</ItemGroup>
113117
<ItemGroup>
114118
<ProjectReference Include="..\NHibernate.Test\NHibernate.Test.csproj">

src/NHibernate.Test/NHibernate.Test.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
<IsWebBootstrapper>false</IsWebBootstrapper>
3232
<UseApplicationTrust>false</UseApplicationTrust>
3333
<BootstrapperEnabled>true</BootstrapperEnabled>
34+
<StartAction>Program</StartAction>
35+
<StartProgram>$(MSBuildProjectDirectory)\..\..\Tools\nunit\nunit-x86.exe</StartProgram>
36+
<StartArguments>NHibernate.Test.dll</StartArguments>
3437
</PropertyGroup>
3538
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3639
<DebugSymbols>true</DebugSymbols>

src/NHibernate.TestDatabaseSetup/NHibernate.TestDatabaseSetup.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
<IsWebBootstrapper>false</IsWebBootstrapper>
3434
<UseApplicationTrust>false</UseApplicationTrust>
3535
<BootstrapperEnabled>true</BootstrapperEnabled>
36+
<StartAction>Program</StartAction>
37+
<StartProgram>$(MSBuildProjectDirectory)\..\..\Tools\nunit\nunit-x86.exe</StartProgram>
38+
<StartArguments>NHibernate.TestDatabaseSetup.dll</StartArguments>
3639
</PropertyGroup>
3740
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3841
<DebugSymbols>true</DebugSymbols>

0 commit comments

Comments
 (0)