Uses of Class
com.agentforge4j.testkit.harness.WorkflowTestHarness.Builder
Packages that use WorkflowTestHarness.Builder
-
Uses of WorkflowTestHarness.Builder in com.agentforge4j.testkit.harness
Methods in com.agentforge4j.testkit.harness that return WorkflowTestHarness.BuilderModifier and TypeMethodDescriptionSets the directory the config-loader scans for standalone agent bundles.static WorkflowTestHarness.BuilderWorkflowTestHarness.builder()Starts a new harness builder.Overrides the clock used for deterministic event timestamps.WorkflowTestHarness.Builder.fileSinkDir(Path value) RoutesCREATE_FILEwrites to the productionLocalFileSinkrooted at the given directory — exercising the real path-traversal guard and writing to disk — instead of the defaultCapturingFileSinkthat records writes verbatim without filesystem enforcement.WorkflowTestHarness.Builder.script(FakeScript value) Sets the parsed fake script served to every run.WorkflowTestHarness.Builder.shippedCatalog(boolean value) Loads the real shipped workflow + agent catalog from the classpath (the productionloadShippedWorkflows/loadShippedAgentspath) instead of a fixtures directory.WorkflowTestHarness.Builder.toolExecutionOptions(ToolExecutionOptions value) Overrides the tool-invocation tunables, most usefully the authoritative per-invocation timeout — pair a short timeout with a deliberately hanging provider to exercise the timeout arm of the governance chokepoint.WorkflowTestHarness.Builder.toolPolicy(ToolPolicy value) Overrides the tool policy evaluated before a tool invocation.WorkflowTestHarness.Builder.toolProviders(List<ToolProvider> value) Wires in-process tool providers so an agent'sTOOL_INVOCATIONresolves to a real provider without a network transport.WorkflowTestHarness.Builder.workflowsDir(Path value) Sets the directory the config-loader scans for workflow bundles.