-
Notifications
You must be signed in to change notification settings - Fork 2k
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
WIP: RPC Tests Improvement List #4076
Labels
A-testing
Area: Tests and testing infrastructure
Projects
Comments
What about the 2638 lines of Python that aren't in the
|
/home/ghurder/freshzcash: 0 $
for i in `ls -1`; do PYLINES=`cloc --include-lang Python $i | grep Python | awk '{print $NF}'`; if [ "$PYLINES" != "" ]; then echo $PYLINES $i; fi done
1656 contrib
11411 qa
299 src
683 zcutil |
zkbot
added a commit
that referenced
this issue
Jul 26, 2019
Migrate tests from py2 to py3 When executed with the `zcash/qa/pull-tester/rpc-tests.sh` script the Python code in the `zcash/qa/rpc-tests` directory, and subdirectories, runs under Python 3.5.3. I tried to _only_ make changes that were necessary for this goal, and nothing else (like causing `BitcoinTestFramework` to inherit from `unittest.TestCase`, deduplicating repeated code, replacing bespoke components with standard solutions, etc.) I've begun collecting ideas related to such potential improvements here: #4076 <- (Note: This "improvement list" is, itself, much in need of improvement.)
Hey! Thanks for putting this together. We will look in to this when we look in to the py2->py3 migration. |
zkbot
added a commit
that referenced
this issue
Feb 7, 2020
WIP: Migrate tests from py2 to py3 When executed with the `zcash/qa/pull-tester/rpc-tests.sh` script the Python code in the `zcash/qa/rpc-tests` directory, and subdirectories, runs under Python 3.5.3. I tried to _only_ make changes that were necessary for this goal, and nothing else (like causing `BitcoinTestFramework` to inherit from `unittest.TestCase`, deduplicating repeated code, replacing bespoke components with standard solutions, etc.) I've begun collecting ideas related to such potential improvements here: #4076 <- (Note: This "improvement list" is, itself, much in need of improvement.)
Obsolete. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is currently a scratch pad for collecting ideas/observations related to RPC tests.
Codecs:
* some field to bytes
* some to Decimal
Possible Duplicated Functionality:
Compare Py3 implementation with bitcoin core
Efficiency:
Etc:
Enhancements:
Code Quality:
unittest.Testcase
The text was updated successfully, but these errors were encountered: