소스 검색

Test that stopOnFail works during github action

Tigger Kindel 2 년 전
부모
커밋
c6a1f350c1
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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 ()
 		{