pub struct GenerateTestsRequest {
pub format: String,
pub filter: QueryFilter,
pub suite_name: String,
pub base_url: Option<String>,
pub ai_descriptions: bool,
pub llm_config: Option<LlmConfigRequest>,
pub include_assertions: bool,
pub validate_body: bool,
pub validate_status: bool,
pub validate_headers: bool,
pub validate_timing: bool,
pub max_duration_ms: Option<u64>,
}
Expand description
Test generation request
Fields§
§format: String
Test format to generate
filter: QueryFilter
Filter for query
suite_name: String
Test suite name
base_url: Option<String>
Base URL for tests
ai_descriptions: bool
Use AI for test descriptions
llm_config: Option<LlmConfigRequest>
LLM configuration for AI descriptions
include_assertions: bool
Include assertions
validate_body: bool
Validate response body
validate_status: bool
Validate status code
validate_headers: bool
Validate headers
validate_timing: bool
Validate timing
max_duration_ms: Option<u64>
Max duration threshold for timing validation
Trait Implementations§
Source§impl Debug for GenerateTestsRequest
impl Debug for GenerateTestsRequest
Source§impl<'de> Deserialize<'de> for GenerateTestsRequest
impl<'de> Deserialize<'de> for GenerateTestsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GenerateTestsRequest
impl RefUnwindSafe for GenerateTestsRequest
impl Send for GenerateTestsRequest
impl Sync for GenerateTestsRequest
impl Unpin for GenerateTestsRequest
impl UnwindSafe for GenerateTestsRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more