Files
leocad/tests/tests.pro
T
Leonardo Zide b3816caadb Add Qt Test runner and Windows CI build
Provide a single qmake test executable with named Qt Test cases and a standard make check entry point. Cover object-history compaction, cancellation, merging, and property-key comparisons with checks that remain active in release builds, and document how to add tests.

Build and run the tests in Linux and macOS CI and add a Windows x64 job using MSVC 2022 and Qt 6. Enable pull request and manual runs alongside master pushes, preserve JUnit reports on failures, and update existing checkout and cache actions.

Validation: macOS Qt 6.10 release tests and actionlint passed. Confirmed a failing assertion produces a nonzero check result and a JUnit failure.

Closes #1050
2026-10-21 11:32:32 -07:00

20 lines
307 B
Prolog

TEMPLATE = app
TARGET = leocad_tests
CONFIG += console testcase c++17
CONFIG -= app_bundle
QT += concurrent opengl printsupport testlib widgets
greaterThan(QT_MAJOR_VERSION, 5) {
QT += openglwidgets
}
INCLUDEPATH += ../common
HEADERS += lc_tests.h
SOURCES += \
lc_objecthistory_test.cpp \
main.cpp