Download for MacApple silicon, macOS 14+
Skill

qt-qml-test

@theqtcompanyrnd Updated 2026-10-20

Generates Qt Quick Test cases (TestCase, SignalSpy, tryCompare) for QML components. Use for "write QML tests", "qml test", "qt quick test".

ai-skillsclaude-codecodexgithub-copilotqmlqt

Install

With your agent

Install OMGSkills skill "theqtcompanyrnd/agent-skills:skills/qt-qml-test" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/TheQtCompanyRnD/agent-skills /tmp/agent-skills && ln -s /tmp/agent-skills/skills/qt-qml-test ~/.claude/skills/qt-qml-test

From README

Qt Quick Test Skill Generate a Qt Quick Test unit test (tst.qml) for one or more QML components. Scope In scope: Authoring tst.qml files using TestCase, SignalSpy, tryCompare, and Qt Quick Test mouse/key helpers. Testing properties of QML components. Testing Qt Quick Controls (Button, TextField, Slider, SpinBox, Dial, Dialog, MenuItem, Image, MouseArea, TapHandler, NumberAnimation, RegularExpressionValidator, etc.). Testing whether signals emitted by Qt Quick Controls work, via SignalSpy. Single-document and multi-document generation (one tst.qml per source QML file). Out of scope: Setting up build-system integration and running the generated tests (CMake qtaddtest, quicktestmainwithsetup, CTest, CI). Use the qt-qml-test-run companion skill, or refer to Qt 6 documentation. C++ Qt Test (QTESTMAIN), Squish, and Qt Creator IDE test integration. Qt Quick 3D scene , ray-picking via View3D.pick, and mesh-loading verification.