Skip to content

Commit

Permalink
#1 add test project
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamegawa committed Jun 30, 2024
1 parent db76177 commit e0e20f5
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/net8corewebmvc/mvccorenet8/mvccorenet8.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<Folder Include="models\" />
</ItemGroup>

</Project>
11 changes: 11 additions & 0 deletions src/net8corewebmvc/mvccorenet8test/ModelTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace mvccorenet8test
{
[TestClass]
public class ModelTest
{
[TestMethod]
public void RequestModelTest()
{
}
}
}
27 changes: 27 additions & 0 deletions src/net8corewebmvc/mvccorenet8test/mvccorenet8test.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\mvccorenet8\mvccorenet8.csproj" />
</ItemGroup>

<ItemGroup>
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
</ItemGroup>

</Project>
11 changes: 10 additions & 1 deletion src/net8corewebmvc/net8coremvc.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mvccorenet8", "mvccorenet8\mvccorenet8.csproj", "{D00DDE6A-6299-4244-A5C9-6AAFFD4FF0B7}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "mvccorenet8", "mvccorenet8\mvccorenet8.csproj", "{D00DDE6A-6299-4244-A5C9-6AAFFD4FF0B7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mvccorenet8test", "mvccorenet8test\mvccorenet8test.csproj", "{1DA052A2-DDF6-4C3B-BD3E-A05855035390}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -15,8 +17,15 @@ Global
{D00DDE6A-6299-4244-A5C9-6AAFFD4FF0B7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D00DDE6A-6299-4244-A5C9-6AAFFD4FF0B7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D00DDE6A-6299-4244-A5C9-6AAFFD4FF0B7}.Release|Any CPU.Build.0 = Release|Any CPU
{1DA052A2-DDF6-4C3B-BD3E-A05855035390}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1DA052A2-DDF6-4C3B-BD3E-A05855035390}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1DA052A2-DDF6-4C3B-BD3E-A05855035390}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1DA052A2-DDF6-4C3B-BD3E-A05855035390}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {266668D7-369A-4C12-ACEC-6FF491DDC725}
EndGlobalSection
EndGlobal

0 comments on commit e0e20f5

Please sign in to comment.