status-desktop/ui/StatusQ/tests
Patryk Osmaczko 6dd8c5fa46 feat: use cmake instead of qmake
- cmake is superior to qmake (e.g. linking custom libraries)
- maintaining two build system generators is costly

iterates: status-im/status-desktop#6510
2022-09-21 18:20:12 +02:00
..
TestComponents fix(StatusImageCrop): output an error if trying to set cropRect without image 2022-09-21 18:20:09 +02:00
TestControls fix(StatusImageCrop): output an error if trying to set cropRect without image 2022-09-21 18:20:09 +02:00
Testing/Temporary tests(general): refactor tests 2022-09-21 18:20:09 +02:00
qml/StatusQ/TestHelpers tests(general): refactor tests 2022-09-21 18:20:09 +02:00
src tests(general): refactor tests 2022-09-21 18:20:09 +02:00
CMakeLists.txt feat: use cmake instead of qmake 2022-09-21 18:20:12 +02:00
main.cpp tests(general): refactor tests 2022-09-21 18:20:09 +02:00
readme.md tests(general): refactor tests 2022-09-21 18:20:09 +02:00

readme.md

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