Skip to content
Snippets Groups Projects
Commit 96ea8eea authored by Daniel Lorych's avatar Daniel Lorych :cookie:
Browse files

Add unit tests

parent 3dceab6e
Branches
No related tags found
No related merge requests found
...@@ -5,6 +5,8 @@ VisualStudioVersion = 25.0.1700.0 ...@@ -5,6 +5,8 @@ VisualStudioVersion = 25.0.1700.0
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Helios", "Helios\Helios.csproj", "{A78C7747-3479-4E7B-A724-C29E1E28142F}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Helios", "Helios\Helios.csproj", "{A78C7747-3479-4E7B-A724-C29E1E28142F}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "UnitTests\UnitTests.csproj", "{ECA6B093-982F-44B8-9E6A-833FC77BB86F}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
...@@ -15,6 +17,10 @@ Global ...@@ -15,6 +17,10 @@ Global
{A78C7747-3479-4E7B-A724-C29E1E28142F}.Debug|Any CPU.Build.0 = Debug|Any CPU {A78C7747-3479-4E7B-A724-C29E1E28142F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A78C7747-3479-4E7B-A724-C29E1E28142F}.Release|Any CPU.ActiveCfg = Release|Any CPU {A78C7747-3479-4E7B-A724-C29E1E28142F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A78C7747-3479-4E7B-A724-C29E1E28142F}.Release|Any CPU.Build.0 = Release|Any CPU {A78C7747-3479-4E7B-A724-C29E1E28142F}.Release|Any CPU.Build.0 = Release|Any CPU
{ECA6B093-982F-44B8-9E6A-833FC77BB86F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ECA6B093-982F-44B8-9E6A-833FC77BB86F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ECA6B093-982F-44B8-9E6A-833FC77BB86F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ECA6B093-982F-44B8-9E6A-833FC77BB86F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
......
using System;
using NUnit.Framework;
namespace UnitTests
{
public class ConfiguratorTests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Test1()
{
Assert.Pass();
}
}
}
using System;
using NUnit.Framework;
namespace UnitTests
{
public class PowerDistributionTests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Test1()
{
Assert.Pass();
}
}
}
using System;
using NUnit.Framework;
namespace UnitTests
{
public class SystemMonitoringTests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Test1()
{
Assert.Pass();
}
}
}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
<PackageReference Include="coverlet.collector" Version="3.1.0" />
</ItemGroup>
</Project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment