1.0 KiB
1.0 KiB
Speculos functional tests
These tests are implemented in Python with the SpeculosClient interface which allows easy execution on the Speculos emulator.
Requirements
Dependencies
Python dependencies are listed in requirements.txt
python3 -m pip install --extra-index-url https://test.pypi.org/simple/ -r requirements.txt
The extra index allows to fetch the latest version of Speculos.
Usage
Given the requirements are installed, just do:
pytest tests/speculos/
Tests by APDU
you will find the list of apdu here
- Get
- GET APP CONFIGURATIOn
- Simple test
- GET ETH PUBLIC ADDRESS
- Test get key of coin (Ether, Dai)
- Test get key of coin (Ether, Dai) with display
- Test without chain code
- GET ETH2 PUBLIC KEY
- Test get key
- Test get key with display
- GET APP CONFIGURATIOn