public interface AutomatedSuiteManagerService
| Modifier and Type | Method and Description |
|---|---|
org.squashtest.tm.domain.testautomation.AutomatedSuite |
createFromItemsAndIteration(List<Long> testPlanIds,
long iterationId)
Creates a new AutomatedSuite based on a collection of
IterationTestPlanItem, given their ID. |
org.squashtest.tm.domain.testautomation.AutomatedSuite |
createFromItemsAndTestSuite(List<Long> testPlanIds,
long testSuiteId)
Creates a new AutomatedSuite based on a collection of
IterationTestPlanItem, given their ID. |
org.squashtest.tm.domain.testautomation.AutomatedSuite |
createFromIterationTestPlan(long iterationId)
Creates a new AutomatedSuite based on the whole test plan of an
Iteration, given its ID. |
org.squashtest.tm.domain.testautomation.AutomatedSuite |
createFromTestSuiteTestPlan(long testSuiteId)
Creates a new AutomatedSuite based on the whole test plan of a
TestSuite, given its ID. |
void |
delete(org.squashtest.tm.domain.testautomation.AutomatedSuite suite) |
void |
delete(String automatedSuiteId) |
org.squashtest.tm.domain.testautomation.AutomatedSuite |
findById(String id)
Finds a suite given its id
|
List<org.squashtest.tm.domain.execution.Execution> |
findExecutionsByAutomatedTestSuiteId(String automatedTestSuiteId)
Given the id of an automated test suite, returns the list of executions associated to this automated test suite.
|
Collection<TestAutomationProjectContent> |
sortByProject(org.squashtest.tm.domain.testautomation.AutomatedSuite suite)
Given an
AutomatedSuite, returns its content as tests grouped by projects. |
Collection<TestAutomationProjectContent> |
sortByProject(String autoSuiteId)
Given the id of an
AutomatedSuite, returns its content as tests grouped by projects. |
void |
start(org.squashtest.tm.domain.testautomation.AutomatedSuite suite)
Runs the given AutomatedSuite, equivalent to
start(AutomatedSuite, Collection) with
an empty configuration. |
void |
start(org.squashtest.tm.domain.testautomation.AutomatedSuite suite,
Collection<SuiteExecutionConfiguration> configuration)
Runs an automatedSuite with the given configuration.
|
void |
start(String autoSuiteId)
Runs an AutomatedSuite given its ID, equivalent to
start(AutomatedSuite, Collection) with
an empty configuration. |
void |
start(String suiteId,
Collection<SuiteExecutionConfiguration> configuration)
Runs an automatedSuite given its ID with the given configuration.
|
org.squashtest.tm.domain.testautomation.AutomatedSuite findById(String id)
id - org.squashtest.tm.domain.testautomation.AutomatedSuite createFromIterationTestPlan(long iterationId)
Iteration, given its ID. Only automated tests planned in the
test plan will be included. The automated executions are ordered according to the test plan.iterationId - org.squashtest.tm.domain.testautomation.AutomatedSuite createFromTestSuiteTestPlan(long testSuiteId)
TestSuite, given its ID. Only automated tests planned in the
test plan will be included. The automated executions are ordered according to the test plan.iterationId - void delete(org.squashtest.tm.domain.testautomation.AutomatedSuite suite)
void delete(String automatedSuiteId)
Collection<TestAutomationProjectContent> sortByProject(String autoSuiteId)
AutomatedSuite, returns its content as tests grouped by projects.autoSuiteId - Collection<TestAutomationProjectContent> sortByProject(org.squashtest.tm.domain.testautomation.AutomatedSuite suite)
AutomatedSuite, returns its content as tests grouped by projects.suite - void start(org.squashtest.tm.domain.testautomation.AutomatedSuite suite)
start(AutomatedSuite, Collection) with
an empty configuration.suite - void start(String autoSuiteId)
start(AutomatedSuite, Collection) with
an empty configuration.autoSuiteId - void start(org.squashtest.tm.domain.testautomation.AutomatedSuite suite,
Collection<SuiteExecutionConfiguration> configuration)
suite - configuration - void start(String suiteId, Collection<SuiteExecutionConfiguration> configuration)
suite - configuration - List<org.squashtest.tm.domain.execution.Execution> findExecutionsByAutomatedTestSuiteId(String automatedTestSuiteId)
automatedTestSuiteId - org.squashtest.tm.domain.testautomation.AutomatedSuite createFromItemsAndIteration(List<Long> testPlanIds, long iterationId)
IterationTestPlanItem, given their ID. Only automated tests will
be included. The automated executions are ordered according to the iteration's test plan.testPlanIds - iterationId - org.squashtest.tm.domain.testautomation.AutomatedSuite createFromItemsAndTestSuite(List<Long> testPlanIds, long testSuiteId)
IterationTestPlanItem, given their ID. Only automated tests will
be included. The automated executions are ordered according to the test suite's test plan.testPlanIds - testSuiteId - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.