aigentic
0.5.0-SNAPSHOT
common
platform
/
community.flock.aigentic.platform.testing
/
RegressionTest
Regression
Test
class
RegressionTest
<
I
:
Any
,
O
:
Any
>
(
val
numberOfIterations
:
Int
,
val
tags
:
List
<
RunTag
>
,
val
agent
:
Agent
<
I
,
O
>
,
val
toolCallOverrides
:
List
<
ToolCallOverride
>
,
val
contextMessageInterceptor
:
(
List
<
Message
>
)
->
List
<
Message
>
)
Members
Members & Extensions
Constructors
Regression
Test
Link copied to clipboard
constructor
(
numberOfIterations
:
Int
,
tags
:
List
<
RunTag
>
,
agent
:
Agent
<
I
,
O
>
,
toolCallOverrides
:
List
<
ToolCallOverride
>
,
contextMessageInterceptor
:
(
List
<
Message
>
)
->
List
<
Message
>
)
Properties
agent
Link copied to clipboard
val
agent
:
Agent
<
I
,
O
>
context
Message
Interceptor
Link copied to clipboard
val
contextMessageInterceptor
:
(
List
<
Message
>
)
->
List
<
Message
>
number
Of
Iterations
Link copied to clipboard
val
numberOfIterations
:
Int
tags
Link copied to clipboard
val
tags
:
List
<
RunTag
>
tool
Call
Overrides
Link copied to clipboard
val
toolCallOverrides
:
List
<
ToolCallOverride
>
Functions
execute
Test
Link copied to clipboard
inline suspend
fun
<
I
:
Any
,
O
:
Any
>
RegressionTest
<
I
,
O
>
.
executeTest
(
run
:
Run
<
O
>
,
runId
:
RunId
,
iteration
:
Int
)
:
TestResult
start
Link copied to clipboard
inline suspend
fun
<
I
:
Any
,
O
:
Any
>
RegressionTest
<
I
,
O
>
.
start
(
)
:
TestReport