# SPDX-FileCopyrightText: 2026 fuddlesworth
# SPDX-License-Identifier: GPL-3.0-or-later
#
# PlasmaZones Test Suite

# Enable testing
enable_testing()

# Find Qt Test module
find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS Test)

# Include directories for tests
include_directories(
    ${CMAKE_SOURCE_DIR}/src
    ${CMAKE_BINARY_DIR}/src  # For generated headers like plasmazones_export.h
    # Tests include shared fixtures as "helpers/X.h" from any partition depth.
    ${CMAKE_SOURCE_DIR}/tests/unit
)

# Add subdirectories
add_subdirectory(unit)
# add_subdirectory(integration)  # Enable when integration tests are ready
