openlp/tests
Raoul Snyman 2ad33529e4 Merge branch 'issue-1877' into 'master'
Attempt to bubble up permissions errors to the user so that we don't run into None files or hashes

See merge request openlp/openlp!746
2024-04-20 22:26:55 +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 Merge branch 'issue-1877' into 'master' 2024-04-20 22:26:55 +00:00
openlp_plugins Make the slide height affect the size of the thumbnails generated 2024-04-14 22:36:19 -07:00
resources Make the slide height affect the size of the thumbnails generated 2024-04-14 22:36:19 -07: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