Package com.testmonitor.actions
Class TestResults
java.lang.Object
com.testmonitor.actions.TestResults
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttachment(TestResult testResult, File attachment) Add an attachment to a test resultcreate(TestResult testResult) Create a test resultlist()Search a test resultupdate(TestResult testResult) Update a test result
-
Constructor Details
-
TestResults
- Parameters:
connector- The TestMonitor connector to perfom HTTP requestsproject- The project you want to work on
-
-
Method Details
-
list
- Returns:
- A list of test results
-
list
- Returns:
- A list of test results
-
list
- Returns:
- A list of test results
-
get
- Parameters:
id- The test result ID- Returns:
- The test result that matches the ID
-
search
Search a test result- Parameters:
search- The search string- Returns:
- A list of results
-
create
Create a test result- Parameters:
testResult- The name of the test result- Returns:
- The created test suite
-
update
Update a test result- Parameters:
testResult- The test result you want to update- Returns:
- A new instance of the test result
-
addAttachment
Add an attachment to a test result- Parameters:
testResult- The test result you want to update with an attachment- Returns:
- A new instance of the project
-