openlp/tests
Mateus Meyer Jiacomelli 5ad3f739d4 Fixing qapp tests [skip ci] 2023-11-20 10:23:25 -07: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 Make PathEdit handle None values 2023-11-15 21:22:40 -07:00
openlp_plugins Inject String.replaceAll javascript implementation if needed into webengine when browsing SongSelect. 2023-10-10 19:20:51 +00:00
resources Fix trimming leading whitespaces 2023-10-10 23:53:41 +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 Fixing qapp tests [skip ci] 2023-11-20 10:23:25 -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