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

Refactor filename generation to support configuration & templating #70

Closed
xurizaemon opened this issue Jun 28, 2021 · 2 comments
Closed

Comments

@xurizaemon
Copy link
Contributor

It'd be nice to have control of the filename from behat.yml configuration, and interpolate configured variables (or template string) with values from the step at hand.

In this way people could perhaps generate more informative screenshot naming, eg that included the feature filename, step line, time (accounting for repeated line entries from Examples: tables), success/fail state and other useful context.

This would be a useful addition for things like #69.

@AlexSkrypnyk
Copy link
Member

I think this meant to be for behat-screenshot project.

@xurizaemon
Copy link
Contributor Author

Yes, along with #69 - apologies for the noise :D

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

No branches or pull requests

2 participants