CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/qt-test-framework

Use whenever Qt C++ code needs unit or GUI tests in-process: Qt Test entry macros, private-slot test functions, QVERIFY, QCOMPARE and data-driven QFETCH, simulated mouse, key and touch events, QSignalSpy, QBENCHMARK and JUnit XML output for CI, including Qt Quick and QML logic.

Quality

94%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-sequenced, highly executable guide: ten ordered steps from CMake setup through CI, complete code at every stage, an explicit verify-and-fix loop for test-slot discovery, and detail correctly offloaded to a real, one-level-deep reference file. Deductions are minor: a few overview/editorial sentences restate what Claude already knows, and the single reference filename undersignals that it also contains the CI workflow.

DimensionReasoningScore

Conciseness

Mostly dense, actionable steps, but the Overview restates concepts Claude already knows ('Qt Test is a framework for unit testing Qt-based applications and libraries... [QTest namespace] carries the verification macros') and editorial asides like 'far more robust than connecting test-internal slots and counting invocations by hand' could be trimmed. Anchor 4 (efficient, minor instances of over-explanation) rather than 5 because these instances exist; not 3 since the bulk is non-redundant specifics (entry-macro table, lifecycle slot names, CLI flags, moc dependency).

4 / 5

Actionability

Copy-paste-ready guidance at every stage: CMake ('find_package(Qt6 6.5 REQUIRED COMPONENTS Test Widgets)... qt_add_executable... add_test'), a complete test class with '#include "tst_calculator.moc"', a full _data() slot with addColumn/newRow, GUI simulation with 'QVERIFY(QTest::qWaitForWindowExposed(&w))', QSignalSpy usage, and concrete CLI invocations ('./test_calculator -o results.xml,junitxml'). Anchor 5 (fully executable, common cases covered) rather than 4 - the only deferred example (QBENCHMARK) is supplied as complete code in the linked reference file.

5 / 5

Workflow Clarity

Steps 1-10 give a clear build -> author -> run -> CI sequence, and Step 2 embeds an explicit validation feedback loop: 'run ./test_calculator -functions; confirm it lists your private-slot test functions... If none appear, the slots are not under private slots: or the #include "tst_*.moc" line is missing - fix and rebuild.' The Anti-patterns table adds failure diagnosis. Anchor 5 (explicit validation steps, feedback loops for error recovery) rather than 4, because a genuine verify -> fix -> retry loop exists at the most fragile step (test-slot discovery).

5 / 5

Progressive Disclosure

The bundle reference references/qt-gui-signal-benchmark.md exists and is linked at point of use in Steps 5, 7, and 10, is one level deep, and points back only to SKILL.md. Minor gaps keep it below anchor 5: a single file carries three topics and its name ('qt-gui-signal-benchmark') does not signal that Step 10's 'Full workflow' CI YAML lives there, and the QTRY_VERIFY 5-second-timeout paragraph is duplicated nearly verbatim in both body and reference. Not anchor 3 - structure, links, and navigation are otherwise clear.

4 / 5

Total

18

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: an explicit 'Use whenever...' trigger clause plus a comprehensive, concrete enumeration of Qt Test capabilities that doubles as natural trigger vocabulary (QVERIFY, QSignalSpy, QML, QBENCHMARK). It also draws the in-process boundary that separates this skill from out-of-process drivers. No weaknesses against any dimension.

DimensionReasoningScore

Specificity

Enumerates concrete capabilities - 'Qt Test entry macros, private-slot test functions, QVERIFY, QCOMPARE and data-driven QFETCH, simulated mouse, key and touch events, QSignalSpy, QBENCHMARK and JUnit XML output' - covering authoring, assertions, data-driven tests, GUI simulation, signal introspection, benchmarking, and CI output with no vague filler. This matches anchor 5 (multiple specific concrete actions, comprehensive coverage) rather than 4, which requires minor gaps in coverage; nothing is generic, so lower anchors do not apply.

5 / 5

Completeness

'Use whenever Qt C++ code needs unit or GUI tests in-process' explicitly answers when, and the colon-separated enumeration explicitly answers what. This matches anchor 5 (clearly and explicitly answers both what AND when with concrete trigger phrases) rather than 4, where the 'when' is only present but less specific.

5 / 5

Trigger Term Quality

Includes the natural terms a user would say or paste: 'Qt', 'C++', 'unit or GUI tests', 'Qt Test', 'QVERIFY', 'QCOMPARE', 'QSignalSpy', 'QBENCHMARK', and 'Qt Quick and QML'. Matches anchor 5's comprehensive coverage including synonyms rather than 4 ('a few natural terms missing'), since even the API macro names a user is likely to mention are present.

5 / 5

Distinctiveness Conflict Risk

Scoped to a clear niche - in-process Qt C++ testing - gated on 'Qt C++' and 'in-process', so it will not trigger for generic unit-testing skills or other-language GUI drivers. Matches anchor 5 ('clear niche with distinct triggers; minimal conflict risk') rather than 4, which presumes residual overlap with closely related skills.

5 / 5

Total

20

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 1 missing

Warning

Total

15

/

16

Passed

Reviewed

On this page