|
OpenTAP 9.31
API Reference
|
Interface that the TestStep can access through the Results property. More...
Public Member Functions | |
| void | Wait () |
| Waits for the propagation of results from all Proxies to the Listeners. Normally this is not necessary. However, if a step needs to change a property after it has written results, this method makes sure the ResultListeners record the previous/correct value before changing it. | |
| void | Defer (Action action) |
| Defer an action from the current teststep run. This action will be called as soon as possible, and block the execution for any parent steps. More... | |
| void | Finally (Action< Task > action) |
| Run an action as the final step after the last deferred action. This should not be used while the associated TestStep is running. More... | |
| void | Publish (string name, List< string > columnNames, params IConvertible[] results) |
| Stores a result. These results will be propagated to the ResultStore after the TestStep completes. More... | |
| void | PublishTable (string name, List< string > columnNames, params Array[] results) |
| The fastest way to store a result. These results will be propagated to the ResultStore after the TestStep completes. More... | |
Interface that the TestStep can access through the Results property.
| void OpenTap.IResultSource.Defer | ( | Action | action | ) |
Defer an action from the current teststep run. This action will be called as soon as possible, and block the execution for any parent steps.
| action |
Implemented in OpenTap.ResultSource.
| void OpenTap.IResultSource.Finally | ( | Action< Task > | action | ) |
Run an action as the final step after the last deferred action. This should not be used while the associated TestStep is running.
| action |
| void OpenTap.IResultSource.Publish | ( | string | name, |
| List< string > | columnNames, | ||
| params IConvertible[] | results | ||
| ) |
Stores a result. These results will be propagated to the ResultStore after the TestStep completes.
| name | Name of the result. |
| columnNames | Titles of the columns. |
| results | The values of the results to store. |
Implemented in OpenTap.ResultSource.
| void OpenTap.IResultSource.PublishTable | ( | string | name, |
| List< string > | columnNames, | ||
| params Array[] | results | ||
| ) |
The fastest way to store a result. These results will be propagated to the ResultStore after the TestStep completes.
| name | Name of the result. |
| columnNames | Titles of the columns. |
| results | The columns of the results to store. |
This is the fastest way to store a large number of results.
Implemented in OpenTap.ResultSource.
OpenTAP 9.31 API built Fri Oct 17 2025 07:12:36