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 ( 1 test )
- Get the configuration
- GET ETH PUBLIC ADDRESS ( 3 tests )
- Ether coin without display
- Dai coin with display
- Dai coin with display and reject
- GET ETH2 PUBLIC KEY
- Test get key
- Test get key with display
- GET APP CONFIGURATION ( 1 test )