Files
hush3/qa/cryptoconditions

Integration tests for Crypto-Conditions

These tests are for the Crypto-Conditions functionality in Komodod, using Hoek as a tool to create and sign transactions.

How to run the tests

  1. Install hoek: https://github.com/libscott/hoek
  2. Allow peer-less block creation: set "fMiningRequiresPeers = false" in src/chainparams.cpp, then build komodod.
  3. Start komodod: src/komodod -ac_name=CCTEST -ac_supply=21000000 -gen -pubkey=0205a8ad0c1dbc515f149af377981aab58b836af008d4d7ab21bd76faf80550b47 -ac_cc=1
  4. Set environment variable pointing to Komodo conf: export KOMODO_CONF_PATH=~/.komodo/CCTEST/CCTEST.conf
  5. Run tests: python test_integration.py (you can also use a test runner such as nose).