Qt Qml Test
This skill creates unit test files (`tst_*.qml`) for QML components using Qt Quick Test framework features like TestCase, SignalSpy, and tryCompare. It handles single or batch test generation, supports testing Qt Quick Controls and their signals, and writes generated tests directly to your project's tests directory.
Qt Qml Test generates unit test files for QML components using Qt Quick Test's TestCase, SignalSpy, and helper utilities.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-09
Qt Qml Test generates unit test files for QML components using Qt Quick Test's TestCase, SignalSpy, and helper utilities. This skill creates unit test files (`tst_*.qml`) for QML components using Qt Quick Test framework features like TestCase, SignalSpy, and tryCompare. It handles single or batch test generation, supports testing Qt Quick Controls and their signals, and writes generated tests directly to your project's tests directory.
Use it when
- Qt Qml Test enables you to create comprehensive unit tests for your QML components.
- Yes, Qt Qml Test automates testing of Qt Quick UI components through batch test generation and framework integration.
Install
TheQtCompanyRnD/agent-skills/qt-qml-test · repository language: QML
generated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is Qt Qml Test and what can it do?
Qt Qml Test is a skill for writing and executing unit tests for QML code using the Qt Quick Test framework. It generates test files (`tst_*.qml`) with TestCase, SignalSpy, and tryCompare features to validate QML components, signals, property bindings, and Qt Quick Controls behavior. The skill supports single or batch test generation and writes tests directly to your project's tests directory.
How to test qml code using Qt Qml Test?
Qt Qml Test enables you to create comprehensive unit tests for your QML components. You can write tests that verify signals fire correctly, validate property bindings work as expected, and confirm Qt Quick UI component behavior. The skill generates properly structured test files that integrate with Qt's testing framework and can be executed as part of your development workflow or CI/CD pipeline.
Can Qt Qml Test automate testing of Qt Quick UI components?
Yes, Qt Qml Test automates testing of Qt Quick UI components through batch test generation and framework integration. It creates automated test suites that validate component interactions, signal emissions, and property changes. This automation capability makes it suitable for setting up QML test frameworks in CI/CD pipelines and performing regression testing across your Qt Quick applications.
What testing features does Qt Qml Test support?
Qt Qml Test supports verifying QML signals and property bindings, debugging and validating QML application behavior, and functional testing of Qt Quick components. It leverages Qt Quick Test framework features including TestCase for organizing tests, SignalSpy for monitoring signal emissions, and tryCompare for asynchronous property validation, enabling comprehensive QML quality assurance automation.
How do I set up Qt Qml Test for my project?
Qt Qml Test integrates with your project by generating test files in your tests directory. The skill handles QML test framework setup, creating properly structured test cases that work with Qt's testing infrastructure. Once generated, your tests can be executed directly and integrated into CI/CD pipelines for continuous validation of your QML code.
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Write and execute unit tests for QML code”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Qt Qml enforces structural and stylistic conventions for QML development, covering file organization, import scoping, control selection, component loading, binding patterns, and layout management. Apply it when producing or examining QML source code—not for conceptual questions alone. The skill guides you toward cleaner, more maintainable UI code by flagging violations silently during reviews and keeping generated code concise and rule-aligned.
Automates QML test execution for Qt 6 CMake projects by building and running test cases, then producing a formatted report. Supports direct qmltestrunner invocation or persistent CTest integration via optional setup. Parses JUnit XML output and handles both standalone tests and projects with existing test infrastructure.
Qt UI Design guides you through building interfaces for Qt/QML projects across desktop, web, and embedded platforms. It walks you through target platform, screen geometry, design system selection, and content hierarchy before you start, then applies established UX principles—layout, typography, motion, and interaction patterns—to keep your design coherent and usable.
Qt Qml Docs produces structured Markdown reference documentation for QML components and applications. It reads QML source files alongside related project context and generates developer-facing API docs with property tables, signal descriptions, and usage examples for reusable components.
Qt Qml Review combines deterministic linting with parallel agent-driven analysis to audit Qt6 QML code across six focused domains: bindings, layout, component loading, delegates, states, and performance. The skill reports only high-confidence issues with structured mitigations and never modifies code.
Qt Cmake Project helps you create and maintain Qt 6 projects using CMake, handling executable targets, libraries, QML modules, and resource configuration. It enforces modern CMake best practices and Qt 6 conventions to prevent common build mistakes.
More skills Qt Cpp Docs (NOASSERTION) · Qt Qml Profiler (NOASSERTION) · Qt Figma Component Generation (NOASSERTION) · Qt Figma Token Extraction (NOASSERTION)