-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
I could have sworn this used to work some time in the past, but Expecto tests are not grouping into the appropriate hierarchy. I am on Windows 11 using JetBrains Rider 2024.3.4 and .NET 9.0.101 (with projects targeting .NET 8).
Screenshots for reference:
Expecto suite:
namespace ExpectoTestSuite
open Expecto
module Tests =
[<Tests>]
let tests =
testList "Root" [
testList "List1" [
testCase "my test case 1" (fun () -> ())
testCase "my test case 2" (fun () -> ())
]
testList "List2" [
testCase "my test case 1" (fun () -> ())
testCase "my test case 2" (fun () -> ())
]
]
Xunit suite:
namespace MyNamespace
module MyModule1 =
open System
open Xunit
[<Fact>]
let ``My test 1`` () =
Assert.True(true)
[<Fact>]
let ``My test 2`` () =
Assert.True(true)
module MyModule2 =
open System
open Xunit
[<Fact>]
let ``My test 1`` () =
Assert.True(true)
[<Fact>]
let ``My test 2`` () =
Assert.True(true)
