Repository navigation
Developer Testing and CI
github-actions[bot] edited this page Nov 18, 2026
·
1 revision
GridLock maintains strict quality assurance through automated headless testing. Because our debugger interacts heavily with the OS kernel (via ptrace and process_vm_readv), testing environments require appropriate kernel capabilities (SYS_PTRACE).
Our CI pipeline executes tests in headless mode (using QT_QPA_PLATFORM=offscreen or Lavapipe for Vulkan coverage) to ensure pure logic verification without a physical display.
We utilize the Google Test (gtest) framework paired with Qt's QTest module.
-
test_coordinator.cpp: Mocks the GDB interface to test asynchronous multiplexing, verifying that theGdbRankCoordinatorroutes rank 1's variables separately from rank 2's. -
test_ui.cpp: Synthesizes mouse clicks and global shortcuts usingQTest::keyClick. Verifies theShortcutManagercorrectly focuses splits and that theDifferentialGridtriggers the correct QColor updates. -
test_stride_security.cpp: Actively attacks theMiSanitizer.cppby feeding it 70KB payloads and depth-50 JSON tree structs to ensure it successfully terminates the connection rather than overflowing.
GridLock Repository | Releases | Report an Issue | Roadmap | Accessibility | License (MIT)
Documentation mirrored from docs/ on master.
User Guides
Architecture & Plan
Developer Docs