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

Use builder pattern to avoid more number of arguments to the function in tests #1232

Open
Madhu-1 opened this issue Dec 4, 2024 · 0 comments

Comments

@Madhu-1
Copy link
Contributor

Madhu-1 commented Dec 4, 2024

What happened:

Currently few test helper functions are having more number of input parameters, having more input parameters in a function always brings in the readability and maintenance burden, instead of this we can use builder pattern for better readability and the maintenance, once such example is here #1231 (comment)

What you expected to happen:

How to reproduce it:

Anything else we need to know?:

Environment:

  • Driver version:
  • Kubernetes version (use kubectl version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
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