Package com.testmonitor.actions
Class TestRuns
java.lang.Object
com.testmonitor.actions.TestRuns
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignTestCases(TestRun testRun, List<Integer> testCaseIds) Assign new test cases to a test runassignUsers(TestRun testRun, List<Integer> userIds) Assign users to a test runCreate a test run in TestMonitorfindOrCreate(TestRun testRun) Search or create a test run.findOrCreate(String search, Milestone milestone) Search or create a test run.findOrCreate(String search, Integer milestoneId) Search or create a test rub.list()Search a test runSearch a test runUpdate a test run
-
Constructor Details
-
TestRuns
- Parameters:
connector- The TestMonitor connector to perfom HTTP requestsproject- The project you want to work on
-
-
Method Details
-
list
- Returns:
- A list of test runs
-
list
- Returns:
- A list of test runs
-
list
- Returns:
- A list of test runs
-
get
- Parameters:
id- The test run ID- Returns:
- The test run that matches the ID
-
search
Search a test run- Parameters:
search- The search string- Returns:
- A list of test runs
-
search
Search a test run- Parameters:
search- The search string- Returns:
- A list of test runs
-
create
Create a test run in TestMonitor- Parameters:
testRun- The test run your want to create- Returns:
- The created test run
-
create
- Parameters:
name- Name of the test runmilestoneId- ID of the milestone- Returns:
- The test run
-
create
- Parameters:
name- Name of the test runmilestone- The milestone- Returns:
- The test run
-
findOrCreate
Search or create a test run. When the test run is not found there will be a test run created.- Parameters:
testRun- The search query- Returns:
- The first result or a fresh created test run
-
findOrCreate
Search or create a test run. When the test run is not found there will be a test run created.- Parameters:
search- The search querymilestone- The milestone of the test run- Returns:
- The first result or a fresh created test run
-
findOrCreate
Search or create a test rub. When the test run is not found there will be a test run created.- Parameters:
search- The search query- Returns:
- The first result or a fresh created test run
-
update
Update a test run- Parameters:
testRun- The test run you want to update- Returns:
- A new instance of the test run
-
assignUsers
Assign users to a test run- Parameters:
testRun- The test run you want to update- Returns:
- A new instance of the test run
-
assignTestCases
Assign new test cases to a test run- Parameters:
testRun- The test run you want to update- Returns:
- A new instance of the test run
-