( runtime_info )
Legend
| → | Has corresponding code |
| → | No direct match, but an alternative exists |
| → | No corresponding code |
| - | TODO |
| ( .. ) | Not localized |
| Feature | Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|---|
| ( introspection ) | ( list_member_of_object ) | → | - | - | - | - |
| ( reflection ) | ( run_method_by_name_string ) | → | - | - | - | - |
| ( source_info ) | ( get_executed_command_path ) | → | - | - | - | - |
| ( get_source_file_path ) | → | - | - | - | - | |
| ( get_module_name ) | → | - | - | - | - | |
| ( get_current_directory ) | → | - | - | - | - | |
| ( get_current_line_number ) | → | - | - | - | - | |
| ( get_caller_line_number ) | → | - | - | - | - | |
| ( get_current_function_name ) | → | - | - | - | - | |
| ( get_caller_function_name # <--- this funcname ) | → | - | - | - | - | |
| ( get_current_file_name ) | → | - | - | - | - | |
| ( get_caller_file_name ) | → | - | - | - | - | |
| ( system_info ) | ( get_current_user ) | → | - | - | - | - |
| ( get_hostname ) | → | - | - | - | - |