openlp/tests
Raoul Snyman 1a57f85745
Silence error when shutting down threads
2023-09-07 16:55:52 +00:00
..
helpers Refactor last instances of TestCase-based tests 2023-08-18 11:58:27 -07:00
js Display API abstraction 2023-08-12 15:59:37 +00:00
openlp_core Silence error when shutting down threads 2023-09-07 16:55:52 +00:00
openlp_plugins Fix saving of songs 2023-09-04 10:37:25 -07:00
resources Change SongSelect import procedure to import when clicking download on webpage 2023-08-18 18:03:32 +00:00
utils Happy new Year 2022-12-31 15:54:46 +00:00
README.rst rename readme in test folder and fix text about dependencies 2021-10-23 15:09:51 +02:00
__init__.py Happy new Year 2022-12-31 15:54:46 +00:00
conftest.py Change SongSelect import procedure to import when clicking download on webpage 2023-08-18 18:03:32 +00:00

README.rst

Tests for OpenLP

This directory contains unit tests for OpenLP. The functional directory contains functional unit tests.

Prerequisites

In order to run the unit tests, you will need the following Python packages/libraries installed:

  • pytest
  • pytestqt
  • flake8

On Ubuntu you can simple install the python3-pytest and flake8 packages. Most other distributions will also have these packages. On Windows and Mac OS X you will need to use pip to install these packages.

Running the Tests

To run the tests, navigate to the root directory of the OpenLP project, and then run the following command:

pytest -v tests