Skip to content

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

Merged
neparij merged 1 commit into
allure-framework:mainfrom
askazakov:add-formatter-for-step-parameters
Mar 14, 2023
Merged

Add an ability to create custom formatter for step parameters#330
neparij merged 1 commit into
allure-framework:mainfrom
askazakov:add-formatter-for-step-parameters

Conversation

@askazakov

@askazakov askazakov commented Feb 3, 2023

Copy link
Copy Markdown
Contributor

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

CLAassistant commented Feb 3, 2023

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@askazakov

Copy link
Copy Markdown
Contributor Author

I will appreciate any feedback

@askazakov

Copy link
Copy Markdown
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