Bladeren bron

Test that stopOnFail works during github action

Tigger Kindel 2 jaren geleden
bovenliggende
commit
c6a1f350c1
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  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 ()
 		{