flexbe_testing.logger module
Bundles static methods for test case logging.
- class flexbe_testing.logger.Logger
Bases:
object
Bundles static methods for test case logging.
- static initialize(node: rclpy.node.Node)
- classmethod mute_rclpy()
Conditionally mute the rclpy logging channels.
- classmethod print_error(text)
Print an internal error that might cause unexpected behavior, but does not cause failure itself.
- classmethod print_failure(text)
Instead of a result, print the failure of a test case once after any other print method.
- classmethod print_negative(text)
Print a negative intermediate result.
- classmethod print_positive(text)
Print a positive intermediate result.
- classmethod print_result(test_name, success)
Print the result, should be called once and after any other print method.
- classmethod print_title(test_name, test_class, result=None)
Print the title of the test, should be called once and before any other print method.