Package com.testmonitor.actions
Class TestSuites
java.lang.Object
com.testmonitor.actions.TestSuites
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a test suite with a given name.Create a test suite with a given name.findOrCreate(String search) Search or create a test suite.list()Search a test suiteUpdate a test suite
-
Constructor Details
-
TestSuites
- Parameters:
connector- The TestMonitor connector to perfom HTTP requestsproject- The project you want to work on
-
-
Method Details
-
list
- Returns:
- A list of test suites
-
list
- Returns:
- A list of test suites
-
list
- Returns:
- A list of test suites
-
get
- Parameters:
id- The test suite ID- Returns:
- The test suite that matches the ID
-
search
Search a test suite- Parameters:
query- The search string- Returns:
- A list of results
-
create
Create a test suite with a given name.- Parameters:
name- The name of the test suite- Returns:
- The created test suite
-
create
Create a test suite with a given name.- Parameters:
testSuite- The name of the test suite- Returns:
- The created test suite
-
findOrCreate
Search or create a test suite. When the test suite is not found there will be a test suite created.- Parameters:
search- The search query- Returns:
- The first result or a fresh created test suite
-
update
Update a test suite- Parameters:
testSuite- The test suite you want to update- Returns:
- A new instance of the test suite
-