初期化
凡例
| → | 対応コードあり |
| → | 直接対応していないが代替の書き方あり |
| → | 対応コードなし |
| - | 未確認 |
| ( .. ) | ローカライズまだ |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| 生文字列 | r' ... ' | - | - | → | - |
| 文字列中の変数補完 | f'{x}' | - | - | → | - |
| ( assign_empty_string ) | '' | "" | "" | → | → |
| ( assign_escaped_string ) | ' ... ' | - | " ... " | → | $'...' |
| ( assign_multiline_string ) | ''' ... ''' | - | - | - | - |
| ( escape_and_quote ) | \ | - | - | → | - |
| ( is_single_and_double_quote_differ ) | No | - | - | - | - |
| ( here_document ) | use '''...''' | - | - | → | - |
| ( string_interpolation_expression ) | f'{x}' | - | - | → | - |
| ( assign_string_with_newline ) | - | - | - | """ ... """ | - |