Debian Codegraph @

core/tests/README

raw
1 Unit-tests, command line tools, and GUI tools listed by modules.
2
3 * File Naming Conventions:
4
5 - Unit-Tests pattern: *_utest.cpp/.h
6 - Command line tools pattern: *_cli.cpp/.h
7 - Graphic user interface tools pattern: *_gui.cpp/.h
8
9 The front of file name must describe the goal of the tests/tools.
10
11 * All test implementations must uses DIGIKAM_TESTS_LOG QtDebug space defined in digikam_debug.h.
12 To show debug traces on the console, turn on the env. variable QT_LOGGING_RULES with "digikam*=true".
13
14 * No need to support translations in this area.
15
16 * With command line tools, try to use QCoreApplication instead QApplication when possible.
17
18 * All data test files must be hosted on this git LFS based repository:
19 https://invent.kde.org/graphics/digikam-test-data
20
21 See class from dtestdatadir.h to manage data test files at run-time, from developer computer and on CI VM.