Struct azure_devops_rust_api::test_plan::test_suites::Client
source · pub struct Client(_);Implementations§
source§impl Client
impl Client
sourcepub fn get_suites_by_test_case_id(
&self,
organization: impl Into<String>,
test_case_id: i32
) -> RequestBuilder
pub fn get_suites_by_test_case_id( &self, organization: impl Into<String>, test_case_id: i32 ) -> RequestBuilder
Find the list of all test suites in which a given test case is present. This is helpful if you need to find out which test suites are using a test case, when you need to make changes to a test case.
Arguments:
organization: The name of the Azure DevOps organization.test_case_id: ID of the test case for which suites need to be fetched.
sourcepub fn get_test_suites_for_plan(
&self,
organization: impl Into<String>,
project: impl Into<String>,
plan_id: i32
) -> RequestBuilder
pub fn get_test_suites_for_plan( &self, organization: impl Into<String>, project: impl Into<String>, plan_id: i32 ) -> RequestBuilder
Get test suites for plan.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project nameplan_id: ID of the test plan for which suites are requested.
sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<TestSuiteCreateParams>,
project: impl Into<String>,
plan_id: i32
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<TestSuiteCreateParams>, project: impl Into<String>, plan_id: i32 ) -> RequestBuilder
Create test suite.
Arguments:
organization: The name of the Azure DevOps organization.body: Parameters for suite creationproject: Project ID or project nameplan_id: ID of the test plan that contains the suites.
sourcepub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>,
plan_id: i32,
suite_id: i32
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, project: impl Into<String>, plan_id: i32, suite_id: i32 ) -> RequestBuilder
Get test suite by suite id.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project nameplan_id: ID of the test plan that contains the suites.suite_id: ID of the suite to get.
sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<TestSuiteUpdateParams>,
project: impl Into<String>,
plan_id: i32,
suite_id: i32
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<TestSuiteUpdateParams>, project: impl Into<String>, plan_id: i32, suite_id: i32 ) -> RequestBuilder
Update test suite.
Arguments:
organization: The name of the Azure DevOps organization.body: Parameters for suite updationproject: Project ID or project nameplan_id: ID of the test plan that contains the suites.suite_id: ID of the parent suite.
sourcepub fn delete(
&self,
organization: impl Into<String>,
project: impl Into<String>,
plan_id: i32,
suite_id: i32
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, project: impl Into<String>, plan_id: i32, suite_id: i32 ) -> RequestBuilder
Delete test suite.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project nameplan_id: ID of the test plan that contains the suite.suite_id: ID of the test suite to delete.