Commit 6f78f2a
committed
tests: add curated bitcoin core test set
After analyzing countless Bitcoin Core tests from test/functional
folder, invariants were picked for corepc such that if a particular
assertion failed, that means corepc has a bug. The tests are
complementary and do not repeat or collide with existing corepc
integration tests.
Identical test copies from core proved unproductive, extense and
tested much more than necessary for corepc. All existing tests are
derivations centered around checking corepc honors a particular
invariant. Optional fields were specially targeted to prevent absence
failures that into_model() conversions failed to catch. Some setups
exercise previously untested fields.1 parent fc26eaa commit 6f78f2a
8 files changed
Lines changed: 1300 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments