( runtime_path )
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] => ./a.py | - | - | - | $0 => ./a.sh |
| ( get_source_file_path ) | __file__ | - | - | - | ${BASH_SOURCE[0]} |
| ( get_executed_interpreter_path ) | sys.executable | - | - | - | - |
| ( get_module_name ) | __name__ | - | - | - | - |
| ( get_current_directory ) | os.getcwd() | - | - | - | - |