openlp/tests
Raoul Snyman b635bad83f Migrate to using Declarative Base in Songs 2023-03-08 03:27:49 +00:00
..
helpers Happy new Year 2022-12-31 15:54:46 +00:00
js Fix white preview display when previewing presentations 2023-01-17 23:16:34 +00:00
openlp_core Merge branch 'master' into list-view 2023-02-17 11:18:17 -03:00
openlp_plugins Migrate to using Declarative Base in Songs 2023-03-08 03:27:49 +00:00
resources Migrate to using Declarative Base in Songs 2023-03-08 03:27:49 +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 Display the closing progress dialog during plugin shutdown 2023-01-18 23:15:11 -07: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