( source_info )

Legend
Has corresponding code
No direct match, but an alternative exists
No corresponding code
-TODO
( .. )Not localized
Example Python
pytest
C++
GoogleTest
Swift
Testing
Kotlin
jUnit
Bash
bats
( get_executed_command_path ) sys.argv[0] - - - -
( get_source_file_path ) __file__ - - - -
( get_module_name ) __name__ - - - -
( get_current_directory ) os.getcwd() - - - -
( get_current_line_number ) inspect.currentframe().f_lineno - - - -
( get_caller_line_number ) inspect.currentframe().f_back.f_lineno - - - -
( get_current_function_name ) inspect.currentframe().f_code.co_name - - - -
( get_caller_function_name # <--- this funcname ) inspect.currentframe().f_back.f_code.co_name - - - -
( get_current_file_name ) inspect.currentframe().f_code.co_filename - - - -
( get_caller_file_name ) inspect.currentframe().f_back.f_code.co_filename - - - -