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

Hack week project: Refactor the usage of custom devices #6740

Draft
wants to merge 23 commits into
base: master
Choose a base branch
from

Conversation

rauletorresc
Copy link

@rauletorresc rauletorresc commented Dec 24, 2024

Context: The execute method of the custom devices in tests seem to be repetitive.

Description of the Change: Create a custom device factory that allows the customization of the device via arguments. Usually, the device provided by default is enough for the test purpose.

Benefits: Reduces boiler-plate code.

Possible Drawbacks: The factory arguments/implementation might need to be extended for more complex custom device uses.

@rauletorresc rauletorresc added WIP 🚧 Work-in-progress do not merge ⚠️ Do not merge the pull request until this label is removed labels Dec 24, 2024
@rauletorresc rauletorresc self-assigned this Dec 24, 2024
Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge ⚠️ Do not merge the pull request until this label is removed WIP 🚧 Work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant