-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow IStepDecoratorAttribute and IScenarioDecoratorAttribute to be applied on class level #108
Comments
Hello, Thanks for reporting it. I'm on holidays at the moment but will take a closer look on it after return next week. There should not be many issues with adding this behaviour, but I will have to analyse how it would work with contextual scenarios where steps can be defined in context class or composites. Let me come back to you after Tuesday. |
Btw, to be precise, using method level attribute is not the only way to install scenario/step decorators. |
…rio or step is defined
…io or step is defined
Released with 2.3.6 |
Description
Current implementation of LightBDD recognizes
IScenarioDecoratorAttribute
andIStepDecoratorAttribute
only if they are applied to the methods. It would be beneficial if the runner could also take into account attributes applied on the class level. For instance if I want to run all of the tests from given class only for specific environment (like it is done in here) I would be able to apply only one class level attribute.The text was updated successfully, but these errors were encountered: