You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: messages/agent.test.results.md
-9Lines changed: 0 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,6 @@ This command requires a job ID, which the original "agent test run" command disp
8
8
9
9
By default, this command outputs test results in human-readable tables for each test case. The tables show whether the test case passed, the expected and actual values, the test score, how long the test took, and more. Use the --result-format to display the test results in JSON or Junit format. Use the --output-dir flag to write the results to a file rather than to the terminal.
10
10
11
-
ERROR CODES
12
-
13
-
Succeeded (0) Results retrieved successfully. Test results (passed/failed) are in the output.
14
-
Failed (1) Command couldn't execute due to invalid job ID, API errors, network issues, or system errors.
15
-
16
-
ENVIRONMENT VARIABLES
17
-
18
-
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
Copy file name to clipboardExpand all lines: messages/agent.test.resume.md
-9Lines changed: 0 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,6 @@ Use the --wait flag to specify the number of minutes for this command to wait fo
10
10
11
11
By default, this command outputs test results in human-readable tables for each test case. The tables show whether the test case passed, the expected and actual values, the test score, how long the test took, and more. Use the --result-format to display the test results in JSON or Junit format. Use the --output-dir flag to write the results to a file rather than to the terminal.
12
12
13
-
ERROR CODES
14
-
15
-
Succeeded (0) Test completed successfully. Test results (passed/failed) are in the JSON output.
16
-
Failed (1) Command couldn't execute due to invalid job ID, API errors, network issues, or system errors. Exit code 1 also indicates tests encountered execution errors.
17
-
18
-
ENVIRONMENT VARIABLES
19
-
20
-
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
Copy file name to clipboardExpand all lines: messages/agent.test.run.md
-9Lines changed: 0 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,6 @@ By default, this command starts the agent test in your org, but it doesn't wait
10
10
11
11
By default, this command outputs test results in human-readable tables for each test case, if the test completes in time. The tables show whether the test case passed, the expected and actual values, the test score, how long the test took, and more. Use the --result-format to display the test results in JSON or Junit format. Use the --output-dir flag to write the results to a file rather than to the terminal.
12
12
13
-
ERROR CODES
14
-
15
-
Succeeded (0) Test started successfully (without --wait), or test completed successfully (with --wait).
16
-
Failed (1) Command couldn't execute due to API errors, network issues, invalid test name, or system errors. When using --wait, exit code 1 also indicates tests encountered execution errors.
17
-
18
-
ENVIRONMENT VARIABLES
19
-
20
-
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
21
-
22
13
# flags.api-name.summary
23
14
24
15
API name of the agent test to run; corresponds to the name of the AiEvaluationDefinition metadata component that implements the agent test.
Copy file name to clipboardExpand all lines: messages/agent.validate.authoring-bundle.md
-11Lines changed: 0 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,6 @@ This command validates that the Agent Script file in the authoring bundle compil
10
10
11
11
This command uses the API name of the authoring bundle. If you don't provide an API name with the --api-name flag, the command searches the current DX project and outputs a list of authoring bundles that it found for you to choose from.
12
12
13
-
ERROR CODES
14
-
15
-
Succeeded (0) Agent Script file compiled successfully without errors.
16
-
Failed (1) Compilation errors found in the Agent Script file.
17
-
NotFound (2) Validation/compilation API returned HTTP 404. The API endpoint may not be available in your org or region.
18
-
ServerError (3) Validation/compilation API returned HTTP 500. A server error occurred during compilation.
19
-
20
-
ENVIRONMENT VARIABLES
21
-
22
-
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
23
-
24
13
# examples
25
14
26
15
- Validate an authoring bundle by being prompted for its API name; use your default org:
'Succeeded (0)': 'Test completed successfully. Test results (passed/failed) are in the JSON output.',
40
+
'Failed (1)':
41
+
"Command couldn't execute due to invalid job ID, API errors, network issues, or system errors. Exit code 1 also indicates tests encountered execution errors.",
'Succeeded (0)': 'Test started successfully (without --wait), or test completed successfully (with --wait).',
72
+
'Failed (1)':
73
+
"Command couldn't execute due to API errors, network issues, invalid test name, or system errors. When using --wait, exit code 1 also indicates tests encountered execution errors.",
0 commit comments