Tests require SGXWallet to have been built locally in simulation mode, as described in this document.
Tests can be run in two ways.
To run over all tests, run:
python3 testw.py
Tests can be added to the script by simply adding the test name to the list of tests in the script.
To run an individual test named [test_ex]:
./testw [test_ex]We follow the convention of naming tests like [test-name].
We provide a small test set to measure the performance of the sgxwallet server for the following operations:
getDecryptionSharesblsSignMessageHashecdsaSignMessageHash
To run the tests, please follow the instructions in the performance-tests/README.md.
To test that new sgxwallet versions with udpated backends are still compatible with old versions, see this document