mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-18 01:27:25 +00:00
The STATUSQ_SHADOW_BUILD will allow loading the qml files from sources The StatusQ dependency helps building StatusQ which is used for C++ helpers Updates #12639 ghstack-source-id: cbe0a994e71580746fcdc3d8c90b96f4fb307bd3 Pull Request resolved: https://github.com/status-im/status-desktop/pull/12787
Readme
Developer instructions
CMake
cd ./tests/
cmake -B ./build/ -S .
cmake --build ./build/
ctest --test-dir ./build/
QtCreator
- Open the
./tests/CMakeLists.txt
- Choose a QT kit to run the tests
- Set
%{sourceDir}/tests
as Working Directory for the TestStatusQ target - In the Test Results panel choose Run All Tests or just run the TestStatusQ target
TODO
- TestHelpers library
- Consolidate and integrate with https://github.com/status-im/desktop-ui-tests
- Separate projects per scope: TestControls, TestComponents