bitcoin-s/core-test
Torkel Rogstad 06e5b6b450 Add BIP44 and BIP32 path support (#379)
* Add BIP44 and BIP32 path support

Make paths from strings, indexes/coins/chains,
BIP32 children types.

Derive xprivs and xpubs from paths.

* Address code review on BIP44 from Chris

* Rename children -> path, bip32child -> bip32node

* update README with bip44 name changes
2019-03-19 13:09:11 -05:00
..
src/test Add BIP44 and BIP32 path support (#379) 2019-03-19 13:09:11 -05:00
build.sbt Added scalafmt and ran it (#264) 2018-12-09 14:43:31 -05:00
README.md Add doc on generating coverage report (#380) 2019-03-14 11:39:45 -05:00

Download

Running tests

To run the entire core test suite:

chris@chris:~/dev/bitcoins-core$ sbt coreTest/test
# lots of output, should end up with something like this
[info] All tests passed.
[info] Passed: Total 1008, Failed 0, Errors 0, Passed 1008
[success] Total time: 38 s, completed Dec 23, 2018 4:39:58 PM

Coverage

To produce a report that quantifies how much of our code is covered by tests:

sbt 
> coverage
> coreTest/test
> core/coverageReport

This generates three different reports: Cobertura, XML and HTML formats. See the output of your sbt shell to find the location of them. Open up the HTML file in your browser. You'll now see code coverage of all files in core project.