浏览代码

Test that stopOnFail works during github action

Tigger Kindel 2 年之前
父节点
当前提交
cc58771d6e
共有 1 个文件被更改,包括 6 次插入0 次删除
  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 ()
 		{