Skip to content

In VB (reflection mode) generated UnitTests (Reqnroll) with CompilerGeneratedAttribute aren't executed anymore #2906

@obligaron

Description

@obligaron

When updating from 0.25.21 to 0.55.23 we discovered that our generated unit tests aren't executed anymore.

In Reqnroll we generate unit tests from BDD feature files and add the CompilerGeneratedAttribute to them.

Likely because of the following line our tests aren't executed anymore:

var filteredTypes = types.Where(t => t.IsClass && !IsCompilerGenerated(t));

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions