1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 21:38:26 +00:00
trezor-firmware/storage/tests
2021-05-21 13:42:53 +02:00
..
c refactor(core): move wait_random and rdi into separate file 2021-05-21 13:42:53 +02:00
c0 test(storage): Update tests to comply with new storage version and interface. 2021-03-25 14:24:41 +01:00
python fix(storage): Check for overflow in counter increment. 2021-03-26 10:54:56 +01:00
tests fix(storage): Check for overflow in counter increment. 2021-03-26 10:54:56 +01:00
Makefile ci: add junit for a nice tests overview 2020-01-03 12:44:12 +00:00
README.md storage: alter README to reflect monorepo 2019-04-25 16:50:56 +02:00
test.py test(storage): Update tests to comply with new storage version and interface. 2021-03-25 14:24:41 +01:00

Trezor Storage tests

This repository contains all the necessary files to properly test Trezor's internal storage.

This repository consists of:

  • c: The actual C version is implemented in the main storage folder, however we need some other accompanying files to build it on computer.
  • c0: This is the older version of Trezor storage. It is used to test upgrades from the older format to the newer one.
  • python: Python version. Serves as a reference implementation and is implemented purely for the goal of properly testing the C version.
  • tests: Most of the tests run the two implementations against each other. Uses Pytest and hypothesis for random tests.