Jelajahi Sumber

Test that stopOnFail works during github action

Tigger Kindel 2 tahun lalu
induk
melakukan
cc58771d6e
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      UnitTests/Views/ViewTests.cs

+ 6 - 0
UnitTests/Views/ViewTests.cs

@@ -17,6 +17,12 @@ namespace Terminal.Gui.ViewTests {
 			this.output = output;
 			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]
 		[Fact]
 		public void New_Initializes ()
 		public void New_Initializes ()
 		{
 		{