You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/docs/core/tests/index.md

22 lines
627 B

# Testing
We have two types of tests in Core:
1. Unit tests that are specific to Trezor Core.
2. Common tests, which are common to both Trezor Core (Model T, Safe 3) and Legacy (Model one). Device tests belong to this category.
## Core unit tests
Unit tests are placed in the `core/tests/` directory.
To start them, [build unix port](../build/emulator.md) and run the following command from `core/`:
```sh
make test # run all unit test
make test TESTOPTS=test_apps.bitcoin.address.py # run a specific test
```
## Common tests
See the [tests](../../tests/index.md) section.