What's the recommended way to start testing the Bitcoin Core source code.

Thanks in advance, Jim

closed as unclear what you're asking by JBaczuk, MCCCS, chytrik, Andrew Chow Sep 12 '18 at 15:46

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    What do you mean by 'testing'? The source is available at github.com/bitcoin/bitcoin/ , do what you will with it – chytrik Sep 8 '18 at 22:46
  • @chytrik I'm talking about testing for verification of bug fixes. I'm assuming that testing code will get me familiar enough with the code to start fixing bugs myself. – J. Dev Sep 9 '18 at 0:52

What's the recommended way to start testing the Bitcoin Core source code?

testing for verification of bug fixes

See https://github.com/bitcoin/bitcoin/blob/master/src/test/README.md which says:

To run the bitcoind tests manually, launch src/test/test_bitcoin. To recompile after a test file was modified, run make and then run the test again. If you modify a non-test file, use make -C src/test to recompile only what's needed to run the bitcoind tests.

To add more bitcoind tests, add BOOST_AUTO_TEST_CASE functions to the existing .cpp files in the test/ directory or add new .cpp files that implement new BOOST_AUTO_TEST_SUITE sections.

To run the bitcoin-qt tests manually, launch src/qt/test/test_bitcoin-qt

To add more bitcoin-qt tests, add them to the src/qt/test/ directory and the src/qt/test/test_main.cpp file.

There is more.

Not the answer you're looking for? Browse other questions tagged or ask your own question.