Proposal for unit testing on test_framework functions:
- Use the python
unittest
library. Don’t use test_framework to test itself. - Put the tests inside the same file as the functions they are testing.
- Call the tests from
test_runner.py
. To include more Test Framework tests, add the filename to the listTEST_FRAMEWORK_MODULES
. Don’t add new files or change the list of accepted script prefixes.
Makes these changes for bn2vch
(followup to this comment).