Details
-
Improvement
-
Status: Accepted
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Adding a test abstraction around the master operator API would make it easier for developers to test this functionality, increasing the likelihood that it will be included in new test code going forward.
For example, I can imagine an RAII-style construct which creates an operator event stream upon instantiation and captures the initial GET_STATE response, exposing a method to allow callers to pop events off of the stream subsequently. This could be used in the existing MasterAPITest.Subscribe, as well as other tests in the future.