-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Have you considered using source generators instead of using embedded resources for the feature files? This might make it so tests could be dynamically discovered since source generators run at design time as well as build.
Some other possible features that could be enabled by using source generators:
- The
#linepragma could be used to make it so IDE's and debuggers know which file and line the generated code corresponds to. This would make it so that you shouldn't have to create custom IDE extensions. - The generated test method could reference the actual step method so that the codelense reference counts and Find All References on the step definitions would just work.
- The
#errorand#warningpragmas could be used when a step definition could not be found to provide custom error/warning messages. This would provide design-time errors/warnings to without the need to build the project.
Metadata
Metadata
Assignees
Labels
No labels