Special NUnit exception types (#38)

This commit is contained in:
Patrick Stevens
2024-06-06 21:23:47 +01:00
committed by GitHub
parent 00e2b027c7
commit 9a0eb1d8fc
6 changed files with 52 additions and 8 deletions

19
Consumer/Inconclusive.fs Normal file
View File

@@ -0,0 +1,19 @@
namespace Consumer
open NUnit.Framework
[<TestFixture>]
module Inconclusive =
[<Test>]
let ``Inconclusive test`` () =
Assert.Inconclusive "I was inconclusive"
[<Test>]
let ``Ignore test`` () = Assert.Ignore "I am ignored"
[<Test>]
let ``Pass test`` () = Assert.Pass "ohhhh yeaahhhh"
[<Test>]
let ``Warning`` () = Assert.Warn "warning"