( standard_output )
凡例
| → | 対応コードあり |
| → | 直接対応していないが代替の書き方あり |
| → | 対応コードなし |
| - | 未確認 |
| ( .. ) | ローカライズまだ |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| ( print_with_newline ) | print(message) | cout << message << endl | - | - | - |
| ( print_with_format ) | print('%d' % i) | printf("%d", i) | - | - | - |
| ( print_without_newline ) | print(message, end='') | cout << message << endl | - | - | - |
| ( print_to_stderr ) | print(message, file=sys.stderr) | - | - | - | - |
| ( pretty_print ) | pprint.pprint(o) | - | - | - | - |
| ( pretty_print_with_json ) | print(json.dumps(o, indent=2)) | - | - | - | - |