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

Configurable (templated) filenames for captures #42

Closed
xurizaemon opened this issue Jul 5, 2021 · 1 comment
Closed

Configurable (templated) filenames for captures #42

xurizaemon opened this issue Jul 5, 2021 · 1 comment

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.

I'm warming to the current layout, as it happens - but I think it'd be nice to be able to rearrange?

This would be a useful addition for things like #40 too.

Previously opened in error at drevops/behat-steps#70

@xurizaemon
Copy link
Contributor Author

Oh hecksakes this is a duplicate of #37! Closing.

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

1 participant