Skip to content
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

StepTitle Attribute - Retain original formatting flag #268

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thomhurst
Copy link

Property AutoFormatStepText on StepTitleAttribute. When false, will retain capitalisation / formatting of StepTitle, which is otherwise overwritten by Humanize.

Previously, if you annotate a method with a step title, BDDfy will still attempt to 'humanize' it. This will remove all capitalisation formatting and such.

This adds a flag to StepAttribute that users can choose if they want BDDfy to autoformat their step text, or if not, use their original formatting.

… formatting of StepTitle, which is otherwise overwritten by Humanize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants