Skip to content

Commit

Permalink
Added mstest. Nothing in it yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
TcPirate1 committed Nov 30, 2023
1 parent 2a59de4 commit c72f33e
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 9 deletions.
4 changes: 0 additions & 4 deletions FFTCG_collection.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@
<PackageReference Include="MongoDB.Driver" Version="2.22.0" />
</ItemGroup>

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

</Project>
10 changes: 5 additions & 5 deletions FFTCG_collection.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ VisualStudioVersion = 17.6.33829.357
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FFTCG_collection", "FFTCG_collection.csproj", "{8F224BBA-4356-4D1A-AC45-8B0B76A92A19}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Collection_tests", "..\Collection_tests\Collection_tests.csproj", "{ACB128FC-31C0-4588-BD8A-E0817A0E1A7B}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FFTCG_test", "FFTCG_test\FFTCG_test.csproj", "{C24B25CB-3593-49BE-9F69-2E39BE6F8BE3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -17,10 +17,10 @@ Global
{8F224BBA-4356-4D1A-AC45-8B0B76A92A19}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8F224BBA-4356-4D1A-AC45-8B0B76A92A19}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8F224BBA-4356-4D1A-AC45-8B0B76A92A19}.Release|Any CPU.Build.0 = Release|Any CPU
{ACB128FC-31C0-4588-BD8A-E0817A0E1A7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ACB128FC-31C0-4588-BD8A-E0817A0E1A7B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ACB128FC-31C0-4588-BD8A-E0817A0E1A7B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ACB128FC-31C0-4588-BD8A-E0817A0E1A7B}.Release|Any CPU.Build.0 = Release|Any CPU
{C24B25CB-3593-49BE-9F69-2E39BE6F8BE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C24B25CB-3593-49BE-9F69-2E39BE6F8BE3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C24B25CB-3593-49BE-9F69-2E39BE6F8BE3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C24B25CB-3593-49BE-9F69-2E39BE6F8BE3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
19 changes: 19 additions & 0 deletions FFTCG_test/FFTCG_test.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

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

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

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
<PackageReference Include="coverlet.collector" Version="3.2.0" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions FFTCG_test/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using Microsoft.VisualStudio.TestTools.UnitTesting;

Check failure on line 1 in FFTCG_test/GlobalUsings.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

Check failure on line 1 in FFTCG_test/GlobalUsings.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
11 changes: 11 additions & 0 deletions FFTCG_test/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace FFTCG_test
{
[TestClass]

Check failure on line 3 in FFTCG_test/UnitTest1.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'TestClassAttribute' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 3 in FFTCG_test/UnitTest1.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'TestClass' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 3 in FFTCG_test/UnitTest1.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'TestClassAttribute' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 3 in FFTCG_test/UnitTest1.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'TestClass' could not be found (are you missing a using directive or an assembly reference?)
public class UnitTest1
{
[TestMethod]

Check failure on line 6 in FFTCG_test/UnitTest1.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'TestMethodAttribute' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 6 in FFTCG_test/UnitTest1.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'TestMethod' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 6 in FFTCG_test/UnitTest1.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'TestMethodAttribute' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 6 in FFTCG_test/UnitTest1.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'TestMethod' could not be found (are you missing a using directive or an assembly reference?)
public void TestMethod1()
{
}
}
}

0 comments on commit c72f33e

Please sign in to comment.