( standard_output )
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 |
|---|---|---|---|---|---|
| ( 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)) | - | - | - | - |