Package com.testmonitor.actions
Class TestSuites
java.lang.Object
com.testmonitor.actions.TestSuites
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a test suite using the test suite object.Create a test suite using the provided name.findOrCreate(String query) Find a test suite using the provided query or create a new one.list()Search through test suites.Update a test suite.
-
Constructor Details
-
TestSuites
- Parameters:
connector- The TestMonitor connectorproject- The TestMonitor project
-
-
Method Details
-
list
- Returns:
- A list of test suites
- Throws:
IOExceptionURISyntaxException
-
list
- Parameters:
page- Page number- Returns:
- A list of test suites
- Throws:
IOExceptionURISyntaxException
-
list
public ArrayList<TestSuite> list(Integer page, Integer limit) throws IOException, URISyntaxException - Parameters:
page- Page numberlimit- Paging limit- Returns:
- A list of test suites
- Throws:
IOExceptionURISyntaxException
-
get
- Parameters:
id- The test suite ID- Returns:
- The test suite matching the ID
- Throws:
IOException
-
search
Search through test suites.- Parameters:
query- The search query- Returns:
- A list of results
- Throws:
IOExceptionURISyntaxException
-
create
Create a test suite using the provided name.- Parameters:
name- The name of the test suite- Returns:
- The created test suite
- Throws:
IOException
-
create
Create a test suite using the test suite object.- Parameters:
testSuite- The test suite object- Returns:
- The created test suite
- Throws:
IOException
-
findOrCreate
Find a test suite using the provided query or create a new one.- Parameters:
query- The search query- Returns:
- A test suite matching the query or a new test suite.
- Throws:
IOExceptionURISyntaxException
-
update
Update a test suite.- Parameters:
testSuite- The test suite you want to update- Returns:
- The updated test suite
- Throws:
IOException
-