diff --git a/Helios.sln b/Helios.sln index 309b44994f4cbbb0be34960415167ff898404151..190dc3ecbae3447ff182b2c1269e176f765b992c 100644 --- a/Helios.sln +++ b/Helios.sln @@ -5,6 +5,8 @@ VisualStudioVersion = 25.0.1700.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Helios", "Helios\Helios.csproj", "{A78C7747-3479-4E7B-A724-C29E1E28142F}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "UnitTests\UnitTests.csproj", "{ECA6B093-982F-44B8-9E6A-833FC77BB86F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ Global {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.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 GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/UnitTests/ConfiguratorTests.cs b/UnitTests/ConfiguratorTests.cs new file mode 100644 index 0000000000000000000000000000000000000000..2245f2183bd3e8d3e1ba2ebf9c3b01720fa92062 --- /dev/null +++ b/UnitTests/ConfiguratorTests.cs @@ -0,0 +1,20 @@ +using System; +using NUnit.Framework; + +namespace UnitTests +{ + public class ConfiguratorTests + { + [SetUp] + public void Setup() + { + } + + [Test] + public void Test1() + { + Assert.Pass(); + } + } +} + diff --git a/UnitTests/PowerDistributionTests.cs b/UnitTests/PowerDistributionTests.cs new file mode 100644 index 0000000000000000000000000000000000000000..3ee39f6d7974c30207933232da062fb3c9ec78ac --- /dev/null +++ b/UnitTests/PowerDistributionTests.cs @@ -0,0 +1,20 @@ +using System; +using NUnit.Framework; + +namespace UnitTests +{ + public class PowerDistributionTests + { + [SetUp] + public void Setup() + { + } + + [Test] + public void Test1() + { + Assert.Pass(); + } + } +} + diff --git a/UnitTests/SystemMonitoringTests.cs b/UnitTests/SystemMonitoringTests.cs new file mode 100644 index 0000000000000000000000000000000000000000..aa8c5d112544107b5b12f63a46c2c5991791e95c --- /dev/null +++ b/UnitTests/SystemMonitoringTests.cs @@ -0,0 +1,20 @@ +using System; +using NUnit.Framework; + +namespace UnitTests +{ + public class SystemMonitoringTests + { + [SetUp] + public void Setup() + { + } + + [Test] + public void Test1() + { + Assert.Pass(); + } + } +} + diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj new file mode 100644 index 0000000000000000000000000000000000000000..e59718eece009ddafa4617b9a6cea55c4dda04b6 --- /dev/null +++ b/UnitTests/UnitTests.csproj @@ -0,0 +1,17 @@ +<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>