I have Xunit and Xunit(Runner: Visual Studio) installed and he is my simple test:
namespace Testing
module Tests =
open Xunit
open Xunit.Extensions
[<Fact>]
let ``just test`` =
Assert.Equal(1, 1)
()
But I can find Xunit in Test -> Window -> Test explorer and Resharper Unit Tests Window.
It looks like your test is missing the unit type, ()
, to identify it as a function taking no arguments. If you write your test like this it should show up in the Visual Studio Test Explorer.
[<Fact>]
let ``just test`` () =
Assert.Equal(1, 1)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With