Skip to content

Commit 3b34c47

Browse files
committed
fix: used correct descriptions for input parameters
1 parent 8e5261b commit 3b34c47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/apex.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,19 +368,19 @@ export const registerApexTools = (server: McpServer) => {
368368
.string()
369369
.optional()
370370
.describe(
371-
"Comma-separated list of test class names to run (required for RunSpecifiedTests)"
371+
"Apex test class names to run; default is all classes. If you select --class-names, you can't specify --suite-names or --tests. For multiple classes, repeat the flag for each: --class-names Class1 --class-names Class2."
372372
),
373373
testSuites: z
374374
.string()
375375
.optional()
376376
.describe(
377-
"Comma-separated list of test suite names to run"
377+
"Apex test suite names to run. If you select --suite-names, you can't specify --class-names or --tests. For multiple suites, repeat the flag for each: --suite-names Class1 --suite-names Class2."
378378
),
379379
tests: z
380380
.string()
381381
.optional()
382382
.describe(
383-
'JSON string specifying specific test methods to run, e.g., [{"className":"TestClass","testMethods":["testMethod1"]}]'
383+
"Apex test class names or IDs and, if applicable, test methods to run; default is all tests. If you specify --tests, you can't specify --class-names or --suite-names. For multiple tests, repeat the flag for each: --tests Test1 --tests Test2."
384384
),
385385
codeCoverage: z
386386
.boolean()

0 commit comments

Comments
 (0)