forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: Add documentation for new test/lib
- Loading branch information
MarcoFalke
committed
Nov 6, 2019
1 parent
faec282
commit fa4c6fa
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Test library | ||
|
||
This contains files for the test library, which is used by the test binaries (unit tests, benchmarks, fuzzers, gui | ||
tests). | ||
|
||
Generally, the files in this folder should be well-separated modules. New code should be added to existing modules or | ||
(when in doubt) a new module should be created. | ||
|
||
The utilities in here are compiled into a library, which does not hold any state. However, the main file `setup_common` | ||
defines the common test setup for all test binaries. The test binaries will handle the global state when they | ||
instantiate the `BasicTestingSetup` (or one of its derived classes). |