@@ -22,21 +22,45 @@ or are controversial.
22
22
23
23
The master branch is regularly built and tested, but is not guaranteed
24
24
to be completely stable. Tags are regularly created to indicate new
25
- official, stable release versions of Bitcoin. If you would like to
26
- help test the Bitcoin core, please contact
[email protected] .
25
+ official, stable release versions of Bitcoin.
27
26
28
- Feature branches are created when there are major new features being
29
- worked on by several people.
27
+ Testing
28
+ =======
30
29
31
- From time to time a pull request will become outdated. If this occurs, and
32
- the pull is no longer automatically mergeable; a comment on the pull will
33
- be used to issue a warning of closure. The pull will be closed 15 days
34
- after the warning if action is not taken by the author. Pull requests closed
35
- in this manner will have their corresponding issue labeled 'stagnant'.
30
+ Testing and code review is the bottleneck for development; we get more
31
+ pull requests than we can review and test. Please be patient and help
32
+ out, and remember this is a security-critical project where any
33
+ mistake might cost people lots of money.
36
34
37
- Issues with no commits will be given a similar warning, and closed after
38
- 15 days from their last activity. Issues closed in this manner will be
39
- labeled 'stale'.
35
+ Automated Testing
36
+ -----------------
40
37
41
- Requests to reopen closed pull requests and/or issues can be submitted to
42
-
38
+ Developers are strongly encouraged to write unit tests for new code,
39
+ and to submit new unit tests for old code.
40
+
41
+ Unit tests for the core code are in src/test/
42
+ To compile and run them:
43
+ cd src; make -f makefile.linux test
44
+
45
+ Unit tests for the GUI code are in src/qt/test/
46
+ To compile and run them:
47
+ qmake BITCOIN_QT_TEST=1 -o Makefile.test bitcoin-qt.pro
48
+ make -f Makefile.test
49
+ ./Bitcoin-Qt
50
+
51
+ Every pull request is built for both Windows and
52
+ Linux on a dedicated server, and unit and sanity
53
+ tests are automatically run. The binaries
54
+ produced may be used for manual QA testing
55
+ (a link to them will appear in a comment on the pull request
56
+ from 'BitcoinPullTester').
57
+ See https://github.com/TheBlueMatt/test-scripts for the
58
+ build/test scripts.
59
+
60
+ Manual Quality Assurance (QA) Testing
61
+ -------------------------------------
62
+
63
+ Large changes should have a test plan, and should be tested
64
+ by somebody other than the developer who wrote the code.
65
+
66
+ See https://github.com/bitcoin/QA/ for how to create a test plan.
0 commit comments