( system_info )
Legend
| → | Has corresponding code |
| → | No direct match, but an alternative exists |
| → | No corresponding code |
| - | TODO |
| ( .. ) | Not localized |
| Example | Python pytest |
PHP PHPUnit |
Swift Testing |
Csharp xunit |
Bash bats |
Powershell pester |
C++ GoogleTest |
JavaScript Jest |
Kotlin jUnit |
|---|---|---|---|---|---|---|---|---|---|
| ( get_current_user_name ) | getpass.getuser() | - | - | - | whoami | - | - | - | - |
| ( get_hostname_short ) | socket.gethostname() etc | - | - | - | hostname -s | - | - | - | - |
| ( get_hostname_full ) | socket.getfqdn() | - | - | - | hostname -f | - | - | - | - |
| ( get_ip_address_of_current_host ) | → | - | - | - | hostname -I | - | - | - | - |
| ( resolve_ip_address_from_hostname ) | socket.gethostbyname(hostname) | - | - | - | ping -c 1 hostname .. | - | - | - | - |