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