streamsx.topology.tester_runtime module¶
Contains test related code that is executed at runtime in the context of the application under test.
-
class
streamsx.topology.tester_runtime.Condition(name=None)¶ Bases:
objectA condition for testing.
Parameters: name (str) – Condition name, must be unique within the tester. -
fail()¶ Fail the condition.
Marks the condition as failed. Once a condition has failed it can never become valid, the test that uses the condition will fail.
-
valid¶ Is the condition valid.
A subclass must set valid when the condition becomes valid.
-