Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Test and Application project #8

Merged
merged 2 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Applikation/Applikation.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

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

</Project>
5 changes: 5 additions & 0 deletions Applikation/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace Applikation;

public class Class1
{
}
1 change: 1 addition & 0 deletions Test/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using Xunit;
25 changes: 25 additions & 0 deletions Test/Test.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<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="Microsoft.NET.Test.Sdk" Version="17.6.0"/>
<PackageReference Include="xunit" Version="2.4.2"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

</Project>
9 changes: 9 additions & 0 deletions Test/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace Test;

public class UnitTest1
{
[Fact]
public void Test1()
{
}
}
12 changes: 12 additions & 0 deletions Your-Lab.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{D027
scripts\dbScript.ps1 = scripts\dbScript.ps1
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Applikation", "Applikation\Applikation.csproj", "{F909C450-1FDF-4579-BCF8-AE2FE66C7551}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test", "Test\Test.csproj", "{B0AA861A-78A9-44BC-A4BF-521ED3E2BAAD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -34,5 +38,13 @@ Global
{2F42A92F-2EAE-411E-8C16-3B977BC1653C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2F42A92F-2EAE-411E-8C16-3B977BC1653C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2F42A92F-2EAE-411E-8C16-3B977BC1653C}.Release|Any CPU.Build.0 = Release|Any CPU
{F909C450-1FDF-4579-BCF8-AE2FE66C7551}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F909C450-1FDF-4579-BCF8-AE2FE66C7551}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F909C450-1FDF-4579-BCF8-AE2FE66C7551}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F909C450-1FDF-4579-BCF8-AE2FE66C7551}.Release|Any CPU.Build.0 = Release|Any CPU
{B0AA861A-78A9-44BC-A4BF-521ED3E2BAAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B0AA861A-78A9-44BC-A4BF-521ED3E2BAAD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B0AA861A-78A9-44BC-A4BF-521ED3E2BAAD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B0AA861A-78A9-44BC-A4BF-521ED3E2BAAD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
Loading