openlp/tests
Tim Bentley b569a1793d Merge branch 'bug-940' into 'master'
Add checks to prevent multiple Linked Audio items on songs

Closes #940

See merge request openlp/openlp!728
2024-03-25 07:51:34 +00:00
..
helpers 2024 - One year older but wiser? 2024-01-05 17:18:59 +00:00
js Display API abstraction 2023-08-12 15:59:37 +00:00
openlp_core Further fix #1871 by adding the Application name as early as possible 2024-03-24 10:43:29 -07:00
openlp_plugins Merge branch 'bug-940' into 'master' 2024-03-25 07:51:34 +00:00
resources Made the wordproject import more robust 2024-01-09 17:26:36 +00:00
utils 2024 - One year older but wiser? 2024-01-05 17:18:59 +00:00
README.rst rename readme in test folder and fix text about dependencies 2021-10-23 15:09:51 +02:00
__init__.py 2024 - One year older but wiser? 2024-01-05 17:18:59 +00:00
conftest.py 2024 - One year older but wiser? 2024-01-05 17:18:59 +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