mirror of
https://github.com/Smaug123/unofficial-nunit-runner
synced 2025-10-12 12:08:49 +00:00
Cope without the TestFixture attribute (#37)
This commit is contained in:
@@ -36,11 +36,6 @@ module Program =
|
||||
|
||||
let anyFailures =
|
||||
assy.ExportedTypes
|
||||
// TODO: NUnit nowadays doesn't care if you're a TestFixture or not
|
||||
|> Seq.filter (fun ty ->
|
||||
ty.CustomAttributes
|
||||
|> Seq.exists (fun attr -> attr.AttributeType.FullName = "NUnit.Framework.TestFixtureAttribute")
|
||||
)
|
||||
|> Seq.fold
|
||||
(fun anyFailures ty ->
|
||||
let testFixture = TestFixture.parse ty
|
||||
|
Reference in New Issue
Block a user