( runtime_info )
凡例
| → | 対応コードあり |
| → | 直接対応していないが代替の書き方あり |
| → | 対応コードなし |
| - | 未確認 |
| ( .. ) | ローカライズまだ |
| 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 ) | → | - | - | - | - |