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

feat(f3): refactor the F3 participation module for easier testing #12589

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

Stebalien
Copy link
Member

Proposed Changes

Refactor the F3 participation module for easier testing:

  1. Move it next to all the F3 code.
  2. Make it look more like a "service" so I won't have to duplicate the
    start/stop code in the itests.
  3. Rename participator to participant. Not perfect, but it's a word.
  4. Make all the constants public.
  5. Only depend on the parts of the API we need (will help with unit testing).

Checklist

Before you mark the PR ready for review, please make sure that:

1. Move it next to all the F3 code.
2. Make it look more like a "service" so I won't have to duplicate the
start/stop code in the itests.
3. Rename participator to participant. Not perfect, but it's a word.
4. Make all the constants public.
5. Only depend on the parts of the API we need (will help with unit testing).
@Stebalien Stebalien added the skip/changelog This change does not require CHANGELOG.md update label Oct 11, 2024
@Stebalien Stebalien requested a review from masih October 11, 2024 15:17
@Stebalien Stebalien merged commit 4d4d473 into master Oct 11, 2024
81 of 85 checks passed
@Stebalien Stebalien deleted the steb/f3-testing-refactor branch October 11, 2024 15:18
rjan90 pushed a commit that referenced this pull request Oct 14, 2024
…2589)

1. Move it next to all the F3 code.
2. Make it look more like a "service" so I won't have to duplicate the
start/stop code in the itests.
3. Rename participator to participant. Not perfect, but it's a word.
4. Make all the constants public.
5. Only depend on the parts of the API we need (will help with unit testing).
rjan90 pushed a commit that referenced this pull request Oct 14, 2024
…2589)

1. Move it next to all the F3 code.
2. Make it look more like a "service" so I won't have to duplicate the
start/stop code in the itests.
3. Rename participator to participant. Not perfect, but it's a word.
4. Make all the constants public.
5. Only depend on the parts of the API we need (will help with unit testing).
rjan90 pushed a commit that referenced this pull request Oct 14, 2024
…2589)

1. Move it next to all the F3 code.
2. Make it look more like a "service" so I won't have to duplicate the
start/stop code in the itests.
3. Rename participator to participant. Not perfect, but it's a word.
4. Make all the constants public.
5. Only depend on the parts of the API we need (will help with unit testing).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip/changelog This change does not require CHANGELOG.md update
Projects
Status: ☑️ Done (Archive)
Development

Successfully merging this pull request may close these issues.

3 participants