Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.02 KB

File metadata and controls

42 lines (25 loc) · 1.02 KB

Functional Tests

Tests require SGXWallet to have been built locally in simulation mode, as described in this document.

Tests can be run in two ways.

Run all tests

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.

Run individual tests

To run an individual test named [test_ex]:

./testw [test_ex]

We follow the convention of naming tests like [test-name].


Performance Tests

We provide a small test set to measure the performance of the sgxwallet server for the following operations:

  • getDecryptionShares
  • blsSignMessageHash
  • ecdsaSignMessageHash

To run the tests, please follow the instructions in the performance-tests/README.md.


Backward Compatibility Tests

To test that new sgxwallet versions with udpated backends are still compatible with old versions, see this document