<blockquote>
<p><strong>What's the recommended way to start testing the Bitcoin Core source code?</strong></p>
<p><strong>testing for verification of bug fixes</strong></p>
</blockquote>
<p>See <a href="https://github.com/bitcoin/bitcoin/blob/master/src/test/README.md" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/blob/master/src/test/README.md</a> which says:</p>
<blockquote>
<p>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.</p>
<p>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.</p>
<p>To run the bitcoin-qt tests manually, launch src/qt/test/test_bitcoin-qt</p>
<p>To add more bitcoin-qt tests, add them to the src/qt/test/ directory and the src/qt/test/test_main.cpp file.</p>
</blockquote>
<p>There is more.</p>

CC BY-SA 4.0
2018-09-10T10:38:16.167Z
2018-09-10T10:38:16.167Z
2020-06-16T11:10:03.350Z
RedGrittyBrick
<p>What's the recommended way to start testing the Bitcoin Core source code.</p>

<p>Thanks in advance,
Jim</p>

CC BY-SA 4.0
2018-09-08T22:46:28.637Z
What do you mean by 'testing'? The source is available at github.com/bitcoin/bitcoin/ , do what you will with it
chytrik
CC BY-SA 4.0
2018-09-09T00:52:27.697Z
@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
<bitcoin-core><testing>
Testing Bitcoin Core source code?
J. Dev
# Testing Bitcoin Core source code?

(Asked by: username_0 on 2018-09-08)

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

Thanks in advance,
Jim

**Tags:** bitcoin-core, testing

> **Comments:**
> **username_1**: What do you mean by 'testing'? The source is available at github.com/bitcoin/bitcoin/ , do what you will with it  
> **username_0**: @username_1 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.  

---

## 1 answers

### Answer by username_2 on 2018-09-10. Score: 1

> **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.


---

