Files
seedsigner/tests
kdmukai 25cb92a31f Improved integration w/View.button_data options
* Modifies Views to make button_data and its options available to external caller (FlowTests).
* Adds button_data_selection for tighter integration with Views and better human-readability of FlowStep sequences.
* Removes the unique recursive run() call in SettingsEntryUpdateSelectionView.
2023-03-05 19:48:50 -06:00
..
2023-03-03 11:37:43 -06:00
2023-03-03 09:55:55 -06:00
2022-04-27 21:18:38 +10:00
2021-09-07 18:52:18 +00:00
2022-04-02 15:43:38 -05:00
2022-04-01 07:38:59 -05:00

Running Tests

You must install the test-runner dependencies:

pip3 install -r tests/requirements.txt

Then make the seedsigner python module visible/importable to the tests by installing it:

pip3 install -e .

Run the whole test suite:

pytest

Run a specific test file:

pytest tests/test_this_file.py

Run a specific test:

pytest tests/test_this_file.py::test_this_specific_test

Test Coverage

Run tests and generate test coverage

coverage run -m pytest

Show the resulting test coverage details:

coverage report

Generate the html overview:

coverage html