Commit Graph

6 Commits

Author SHA1 Message Date
Andrew Chow
8aa047104a Add scripts to run tests and prepare test environments
Add a run_tests.py script which runs all of the tests.

Add a setup_environment.sh script which will download and build the Trezor
emulator, Coldcard simulator, and bitcoind.
2018-12-04 10:32:23 -05:00
Andrew Chow
d01cbae2b0 Add tests for Coldcard using Coldcard simulator
Using the coldcard simulator, test the  enumerate, getxpub,
getmasterxpub, and getkeypool commands. Signtx is tested if the
simulator is in non-headless mode as it requires user input.
Also tests fingerprint autodetect and device type only specified.
2018-12-04 10:32:23 -05:00
Andrew Chow
2272428236 Add tests for trezor using the emulator
Using the trezor emulator, test the  enumerate, getxpub,
getmasterxpub, getkeypool, and signtx commands.
Also tests fingerprint autodetect and device type only specified.
2018-12-04 10:32:23 -05:00
Andrew Chow
64816cbd80 Remove unneeded BIP 32 test 2018-12-04 10:32:23 -05:00
Andrew Chow
22f9e318f5 Implement BIP 32 public derivation and a test for it 2018-10-07 01:43:33 -04:00
Andrew Chow
0df47a68f0 Move tests to test subdir 2018-09-01 12:52:37 -04:00