-
Notifications
You must be signed in to change notification settings - Fork 364
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
Move tests in channelmanager.rs
into more appropriate test files
#2958
Comments
I would like to work on this issue, is this up for grabs? |
Hey, thanks! It sure is! Let us know on this issue if you have any other questions while working on this. I'm not sure everything would move into existing test files so you may need to create some new ones that are more relevant but please feel free to ask! |
Yeah sure, will get back here if I face any issue |
Hey @dunxen I have analyzed the channelmanager tests and prepared the following test groups, There are total 22 tests Group 1: Key Send and Payment Verification
Group 2: Channel Management and Limits
Group 3: Anchor Channel and Configuration Tests
|
Hey @srikanth-iyengar, those groupings seem to make sense to me from first glance! I think we can get some more comments on the moves int he PR to see it in context. |
I started working on the issue, Currently I found that some of the fields/functions in the channel manager are private , should I make them public like |
Hey @dunxen I have raised a PR for this issue, Can you take a look ? |
The
channelmanager.rs
file is huuuge³ at the moment and we shouldn't be adding more tests to it. We should move them into more appropriate test files (which may involve creating new_test.rs
files too.This is unlikely to create a ton of git noise as it should just be pure moves of tests so it could probably be done in one PR.
The text was updated successfully, but these errors were encountered: