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

Add an ability to create custom formatter for step parameters #330

Merged

Conversation

askazakov
Copy link
Contributor

@askazakov askazakov commented Feb 3, 2023

Context

Provide ability to specify formatter for arbitrary type, then pass parameters of this type to step and step name will be formatted with custom formatting instead of .ToString()

It decouples ToString() implementation from allure step presentation

Checklist

@CLAassistant
Copy link

CLAassistant commented Feb 3, 2023

CLA assistant check
All committers have signed the CLA.

@askazakov
Copy link
Contributor Author

I will appreciate any feedback

@askazakov
Copy link
Contributor Author

@neparij could you take a look please?

@neparij neparij merged commit f0a3530 into allure-framework:main Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants