-
Notifications
You must be signed in to change notification settings - Fork 38.7k
[QA] restructure rpc tests directory #6097
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
[QA] restructure rpc tests directory #6097
Conversation
cd5991c to
9e4c1e0
Compare
9e4c1e0 to
2a87143
Compare
|
rebased |
2a87143 to
970bc51
Compare
|
Fixed travis issue. Rebased. |
a0d81ba to
71b3156
Compare
|
No opinion. |
|
The benefits of this pull is not just another type of structure instead it's a clean distinction between test classes/files and utility classes/files. Basically: it's a mess. IMO messy qa/test setups end up in messy tests and bad test coverage. Therefore it should be clean at the root. |
|
Concept ACK. I agree that the rpc-tests directory is a bit messy, and I have found it difficult in the past to just find all the tests that I can run. Making I don't have much opinion about how to best organize python code, but what you have done with the test_framework directory looks okay to me. One thing I noticed -- I think |
|
concept ACK, tidier is better. |
|
concept ACK, this was in need of some organization for sure. |
|
Concept ACK, I like moving the utility functions to a python package so that the top-level files are runnable scripts (needs rebase, though). |
* move non-test classes to subdir `test-framework`
bc37204 to
27b9e4a
Compare
27b9e4a to
1629330
Compare
|
Fixed @sdaftuar's nit (disabled |
9324d4b to
2e35078
Compare
2e35078 to
a85b2e2
Compare
|
It seems you forgot to update Speaking of which - let's move the ... directly |
place authproxy.py at same level as other utility classes
|
Totally agreed. |
7b7f258 rpc-tests: remove python-bitcoinrpc directory (Jonas Schnelli) a85b2e2 pull-tester/rpc-tests.sh: disable script_test.py test (Jonas Schnelli) 3e875b1 pull-tester/rpc-tests.sh: allow passing throug of arguments (Jonas Schnelli) 00706a5 update rpc-tests readme.md (Jonas Schnelli) 344e08e extend rpc-tests.sh control script with non-travis tests (Jonas Schnelli) 64937fe [QA] restructure rpc tests directory (Jonas Schnelli)
|
@jonasschnelli Nice solution |
test-frameworkpull-tester/rpc-tests.sh