Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.15 KB

File metadata and controls

45 lines (28 loc) · 1.15 KB

Build: cmake --preset linux-ninja-release && cmake --build --preset linux-ninja-release

ThemisDB Tests (tests/)

Test-Suite für Unit-, Integrations- und Modulgrenzentests.

Struktur

Top-Level-Suiten u. a.:

  • tests/geo/, tests/llm/, tests/security/, tests/storage/, tests/temporal/, tests/timeseries/
  • zusätzliche root-nahe test_*.cpp für cross-modulare Regressionen

Ausführung (aktueller CMake-Flow)

cmake --preset linux-ninja-release
cmake --build --preset linux-ninja-release
ctest --preset linux-ninja-release

Gezielt (Beispiel):

ctest --preset linux-ninja-release -R temporal

Installation

Tests werden als Teil des Standard-Builds erzeugt (THEMIS_BUILD_TESTS=ON im Release-Preset).

Usage

Führen Sie ctest vollständig oder gefiltert (-R) aus, um betroffene Module gezielt zu prüfen.

Richtlinien

  • Neue Tests als deterministische test_*.cpp
  • Keine stillen Flaky-Retries in Testlogik
  • Fixtures unter tests/fixtures/, wenn wiederverwendbar

Bezug