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

Automatic representation of complex parameters as InputTree #317

Open
3 tasks
Suremaker opened this issue Jul 23, 2023 · 0 comments
Open
3 tasks

Automatic representation of complex parameters as InputTree #317

Suremaker opened this issue Jul 23, 2023 · 0 comments
Labels
improvement An improvement of existing feature (usability / performance etc) LightBDD 4.X Future version of LightBDD
Milestone

Comments

@Suremaker
Copy link
Collaborator

Description

Passing any complex parameter that cannot be displayed with inline text and does not have any formatters configured should be represented as InputTree by default:

public record MyRecord(string Text, int Value);
/*...*/
public My_step(MyRecord record) { }
/*...*/

runner.RunScenarioAsync(_=> My_step(new("abc", 5)));

Progress

  • Feature is implemented,
  • Ensured backward-compatibility,
  • Ensured good debugging experience
@Suremaker Suremaker added improvement An improvement of existing feature (usability / performance etc) LightBDD 4.X Future version of LightBDD labels Jul 23, 2023
@Suremaker Suremaker added this to the 4.0.0 milestone Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An improvement of existing feature (usability / performance etc) LightBDD 4.X Future version of LightBDD
Projects
None yet
Development

No branches or pull requests

1 participant