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

Refactor CookieCrumble to abstract test frameworks #6537

Merged
Prev Previous commit
Next Next commit
Removed MSTest framework and tests
  • Loading branch information
glen-84 committed Nov 29, 2024
commit dd23f41dd8354c0f1dcc66949f46847d5ea15565
16 changes: 1 addition & 15 deletions src/CookieCrumble/CookieCrumble.sln
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
Expand All @@ -11,14 +11,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CookieCrumble.Fusion", "src
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CookieCrumble.HotChocolate", "src\CookieCrumble.HotChocolate\CookieCrumble.HotChocolate.csproj", "{9B57E4BC-E62A-4B7B-94FB-462C5F92D35B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CookieCrumble.MSTest", "src\CookieCrumble.MSTest\CookieCrumble.MSTest.csproj", "{A7F12BB5-F71C-484D-BABA-2980FE873B59}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CookieCrumble.Xunit", "src\CookieCrumble.Xunit\CookieCrumble.Xunit.csproj", "{CEE25A68-69B5-4CFD-9C35-E82736B1E205}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{EB8F1D90-60D6-48FA-9744-D4180A0E4AC0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CookieCrumble.MSTests", "test\CookieCrumble.MSTests\CookieCrumble.MSTests.csproj", "{F83B1337-9535-4121-8B78-89EC970CA705}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CookieCrumble.Tests", "test\CookieCrumble.Tests\CookieCrumble.Tests.csproj", "{844E7501-7ED6-4548-8E99-D8E50D4F39A4}"
EndProject
Global
Expand All @@ -42,18 +38,10 @@ Global
{9B57E4BC-E62A-4B7B-94FB-462C5F92D35B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9B57E4BC-E62A-4B7B-94FB-462C5F92D35B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9B57E4BC-E62A-4B7B-94FB-462C5F92D35B}.Release|Any CPU.Build.0 = Release|Any CPU
{A7F12BB5-F71C-484D-BABA-2980FE873B59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A7F12BB5-F71C-484D-BABA-2980FE873B59}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A7F12BB5-F71C-484D-BABA-2980FE873B59}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A7F12BB5-F71C-484D-BABA-2980FE873B59}.Release|Any CPU.Build.0 = Release|Any CPU
{CEE25A68-69B5-4CFD-9C35-E82736B1E205}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CEE25A68-69B5-4CFD-9C35-E82736B1E205}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CEE25A68-69B5-4CFD-9C35-E82736B1E205}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CEE25A68-69B5-4CFD-9C35-E82736B1E205}.Release|Any CPU.Build.0 = Release|Any CPU
{F83B1337-9535-4121-8B78-89EC970CA705}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F83B1337-9535-4121-8B78-89EC970CA705}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F83B1337-9535-4121-8B78-89EC970CA705}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F83B1337-9535-4121-8B78-89EC970CA705}.Release|Any CPU.Build.0 = Release|Any CPU
{844E7501-7ED6-4548-8E99-D8E50D4F39A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{844E7501-7ED6-4548-8E99-D8E50D4F39A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{844E7501-7ED6-4548-8E99-D8E50D4F39A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -63,9 +51,7 @@ Global
{8E71FA9B-8352-4675-A9B4-A934E40AF9E0} = {2465C122-714C-4D0A-A24D-D9C22A25D73A}
{E6862862-986B-4A67-8703-49C70051DBDC} = {2465C122-714C-4D0A-A24D-D9C22A25D73A}
{9B57E4BC-E62A-4B7B-94FB-462C5F92D35B} = {2465C122-714C-4D0A-A24D-D9C22A25D73A}
{A7F12BB5-F71C-484D-BABA-2980FE873B59} = {2465C122-714C-4D0A-A24D-D9C22A25D73A}
{CEE25A68-69B5-4CFD-9C35-E82736B1E205} = {2465C122-714C-4D0A-A24D-D9C22A25D73A}
{F83B1337-9535-4121-8B78-89EC970CA705} = {EB8F1D90-60D6-48FA-9744-D4180A0E4AC0}
{844E7501-7ED6-4548-8E99-D8E50D4F39A4} = {EB8F1D90-60D6-48FA-9744-D4180A0E4AC0}
EndGlobalSection
EndGlobal

This file was deleted.

15 changes: 0 additions & 15 deletions src/CookieCrumble/src/CookieCrumble.MSTest/MSTestFramework.cs

This file was deleted.

6 changes: 2 additions & 4 deletions src/CookieCrumble/src/CookieCrumble/Snapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,7 @@ private static string GetFilename(StackFrame[] frames)

throw new Exception(
"The snapshot full name could not be evaluated. " +
"Only XUnit or MSTest test suites are supported. " +
"This error can also occur, if you use the snapshot match " +
"This error can occur, if you use the snapshot match " +
"within a async test helper child method. To solve this issue, " +
"use the Snapshot.FullName directly in the unit test to " +
"get the snapshot name, then reach this name to your " +
Expand Down Expand Up @@ -690,8 +689,7 @@ private static string CreateMarkdownTitle(StackFrame[] frames)

throw new Exception(
"The snapshot full name could not be evaluated. " +
"Only XUnit or MSTest test suites are supported. " +
"This error can also occur, if you use the snapshot match " +
"This error can occur, if you use the snapshot match " +
"within a async test helper child method. To solve this issue, " +
"use the Snapshot.FullName directly in the unit test to " +
"get the snapshot name, then reach this name to your " +
Expand Down

This file was deleted.

131 changes: 0 additions & 131 deletions src/CookieCrumble/test/CookieCrumble.MSTests/SnapshotTests.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading