apex-mutation-testing
Version:
Apex mutation testing plugin
119 lines • 3.99 kB
JSON
{
"commands": {
"apex:mutation:test:run": {
"aliases": [],
"args": {},
"description": "The Apex Mutation Testing plugin helps evaluate the effectiveness of your Apex test classes by introducing mutations into your code and checking if your tests can detect these changes:\n\nThe plugin provides insights into how trustworthy your test suite is by measuring its ability to catch intentional code changes.",
"examples": [
"Run mutation testing on a class with its test file:\n<%= config.bin %> <%= command.id %> --class-file MyClass --test-file MyClassTest"
],
"flags": {
"json": {
"description": "Format output as json.",
"helpGroup": "GLOBAL",
"name": "json",
"allowNo": false,
"type": "boolean"
},
"flags-dir": {
"helpGroup": "GLOBAL",
"name": "flags-dir",
"summary": "Import flag values from a directory.",
"hasDynamicHelp": false,
"multiple": false,
"type": "option"
},
"apex-class": {
"char": "c",
"name": "apex-class",
"required": true,
"summary": "Apex class name to mutate",
"hasDynamicHelp": false,
"multiple": false,
"type": "option"
},
"test-class": {
"char": "t",
"name": "test-class",
"required": true,
"summary": "Apex test class name to validate mutations",
"hasDynamicHelp": false,
"multiple": false,
"type": "option"
},
"report-dir": {
"char": "r",
"name": "report-dir",
"summary": "Path to the directory where mutation test reports will be generated",
"default": "mutations",
"hasDynamicHelp": false,
"multiple": false,
"type": "option"
},
"target-org": {
"char": "o",
"name": "target-org",
"noCacheDefault": true,
"required": true,
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
"hasDynamicHelp": true,
"multiple": false,
"type": "option"
},
"api-version": {
"description": "Override the api version used for api requests made by this command",
"name": "api-version",
"hasDynamicHelp": false,
"multiple": false,
"type": "option"
}
},
"hasDynamicHelp": true,
"hiddenAliases": [],
"id": "apex:mutation:test:run",
"pluginAlias": "apex-mutation-testing",
"pluginName": "apex-mutation-testing",
"pluginType": "core",
"strict": true,
"summary": "Evaluate test coverage quality by injecting mutations and measuring test detection rates",
"enableJsonFlag": true,
"isESM": true,
"relativePath": [
"lib",
"commands",
"apex",
"mutation",
"test",
"run.js"
],
"aliasPermutations": [],
"permutations": [
"apex:mutation:test:run",
"mutation:apex:test:run",
"mutation:test:apex:run",
"mutation:test:run:apex",
"apex:test:mutation:run",
"test:apex:mutation:run",
"test:mutation:apex:run",
"test:mutation:run:apex",
"apex:test:run:mutation",
"test:apex:run:mutation",
"test:run:apex:mutation",
"test:run:mutation:apex",
"apex:mutation:run:test",
"mutation:apex:run:test",
"mutation:run:apex:test",
"mutation:run:test:apex",
"apex:run:mutation:test",
"run:apex:mutation:test",
"run:mutation:apex:test",
"run:mutation:test:apex",
"apex:run:test:mutation",
"run:apex:test:mutation",
"run:test:apex:mutation",
"run:test:mutation:apex"
]
}
},
"version": "1.1.0"
}