Browse Source

Test that stopOnFail works during github action

Tigger Kindel 2 years ago
parent
commit
cc58771d6e
1 changed files with 6 additions and 0 deletions
  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 ()
 		{