A Karma plugin that provides an adapter for the QUnit testing framework, enabling seamless integration between Karma test runner and QUnit test suites.
92
Pending
Does it follow best practices?
Impact
92%
0.97xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates how well the engineer uses karma-qunit's plugin registration and framework integration patterns. The focus is on proper use of Karma's factory pattern, dependency injection, and file pattern configuration as exemplified by karma-qunit.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Plugin Registration Format",
"description": "Uses the correct plugin registration format with 'framework:' prefix as a key in the module.exports object, following karma-qunit's pattern of exporting an object like {'framework:qunit': [...]}",
"max_score": 20
},
{
"name": "Factory Pattern Usage",
"description": "Implements the factory pattern correctly by exporting an array with ['factory', initFunction] as the value for the framework key, matching karma-qunit's ['factory', initQUnit] pattern",
"max_score": 25
},
{
"name": "Dependency Injection",
"description": "Properly configures dependency injection by setting the $inject property on the initialization function to ['config.files'], following karma-qunit's initQUnit.$inject pattern",
"max_score": 20
},
{
"name": "File Pattern Creation",
"description": "Creates file pattern objects with the correct structure including pattern, included, served, and watched properties, similar to karma-qunit's createPattern function implementation",
"max_score": 20
},
{
"name": "File Array Modification",
"description": "Correctly modifies the Karma files array by adding file pattern objects to it, following karma-qunit's approach of injecting framework files into the files array",
"max_score": 15
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10