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

chore(rln-relay): move rln-relay test suite to own dir #1587

Merged
merged 2 commits into from
Mar 2, 2023

Conversation

rymnc
Copy link
Contributor

@rymnc rymnc commented Mar 2, 2023

As mentioned by @LNSD, this dir structure makes more sense for the waku_rln_relay test suite

@rymnc rymnc self-assigned this Mar 2, 2023
@rymnc rymnc requested a review from LNSD March 2, 2023 02:47
@@ -48,7 +48,6 @@ import
./v2/test_utils_peers,
./v2/test_message_cache,
./v2/test_peer_manager,
./v2/test_web3, # TODO remove it when rln-relay tests get finalized
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is why the test_web3.nim file was removed

Copy link
Contributor

@LNSD LNSD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR. I appreciate this 😄

LGTM ✅

I have one minor observation regarding the test_utils.nim file. I would keep the test_*.nim naming schema only for files that contain test cases. This makes it easier to navigate through the different test suites.

IMO, this shared test utility code file can be renamed to tests/v2/waku_rln_relay/utils.nim. Wdyt?

@rymnc
Copy link
Contributor Author

rymnc commented Mar 2, 2023

Addressed in 7af540a

@rymnc rymnc merged commit 699a352 into master Mar 2, 2023
@rymnc rymnc deleted the refactor-rln-tests branch March 2, 2023 10:07
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

Successfully merging this pull request may close these issues.

2 participants