Explorar o código

Test that stopOnFail works during github action

Tigger Kindel %!s(int64=2) %!d(string=hai) anos
pai
achega
c6a1f350c1
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      UnitTests/Application/ApplicationTests.cs

+ 5 - 0
UnitTests/Application/ApplicationTests.cs

@@ -56,6 +56,11 @@ namespace Terminal.Gui.ApplicationTests {
 			Application.Shutdown ();
 		}
 
+		public void Fail ()
+		{
+			Assert.Fail("Test to prove stopOnFail is working. During CI/CD no more tests should run after this.");
+		}
+
 		[Fact]
 		public void Init_Shutdown_Cleans_Up ()
 		{