Closed cizra closed 10 months ago
Hi @cizra - please see the README
I have reproduced the issue you mention before adding in my custom attributes to the config, and then after adding in the following, the test is discoverable and passes:
require("neotest-dotnet")({
discovery_root = "solution",
custom_attributes = {
xunit = { "Task" },
},
}),
I'll close this issue as there is already a fix for custom attributes.
Thanks!
If a test case is labeled with attributes other than standard xUnit/whatever
[Fact]
, they're not discovered.Repro:
[Task(n)]
attribute from test cases, rerun tests