Browse Source

Test that stopOnFail works during github action

Tigger Kindel 2 năm trước cách đây
mục cha
commit
cc58771d6e
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      UnitTests/Views/ViewTests.cs

+ 6 - 0
UnitTests/Views/ViewTests.cs

@@ -17,6 +17,12 @@ namespace Terminal.Gui.ViewTests {
 			this.output = output;
 		}
 
+		[Fact]
+		public void Fail ()
+		{
+			Assert.Fail ("Test to prove stopOnFail is working. During CI/CD no more tests should run after this.");
+		}
+
 		[Fact]
 		public void New_Initializes ()
 		{