mirror of
https://github.com/Smaug123/unofficial-nunit-runner
synced 2025-10-10 11:38:38 +00:00
Special NUnit exception types (#38)
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="NoAttribute.fs" />
|
||||
<Compile Include="Inconclusive.fs" />
|
||||
<Compile Include="TestSetUp.fs" />
|
||||
<Compile Include="TestValues.fs" />
|
||||
<None Include="some-config.json">
|
||||
|
19
Consumer/Inconclusive.fs
Normal file
19
Consumer/Inconclusive.fs
Normal 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"
|
Reference in New Issue
Block a user