Skip to main content

Enforce parameter names in steps question



1 comment

  • Jordan Western

    Hi Steven Hansen,

    I have moved this post to it's correct location under general discussions.

    I am wondering if you could user step argument transformations to check the parameter for your unwanted chars and throw an exception if they exist.

    otherwise I think your only other solution is to use c#10 and constant interpolated strings to create a regex pattern that matches what you need and then can be re-usable across the project, only usable with .NET 6 I believe so might not be an option.



Please sign in to leave a comment.

Powered by Zendesk